public interface ClientVerifier
Modifier and Type | Method and Description |
---|---|
org.forgerock.openam.oauth2.model.ClientApplication |
findClient(String clientId,
Request request)
Find the client given a clientId.
|
Collection |
getRequiredAuthenticationScheme(String client_id)
Get the configured HTTP Authentication scheme for the given
client_id
The authorization server MAY support any suitable HTTP authentication
scheme matching its security requirements. |
org.forgerock.openam.oauth2.model.ClientApplication |
verify(Request request,
Response response)
Authenticates the client
|
org.forgerock.openam.oauth2.model.ClientApplication verify(Request request, Response response)
request
- the HTTP Requestresponse
- the HTTP Responseorg.forgerock.openam.oauth2.exceptions.OAuthProblemException
- when authentication failed or null if authentication failsCollection getRequiredAuthenticationScheme(String client_id)
client_id
The authorization server MAY support any suitable HTTP authentication
scheme matching its security requirements. When using other
authentication methods, the authorization server MUST define a mapping
between the client identifier (registration record) and authentication
scheme.client_id
- org.forgerock.openam.oauth2.model.ClientApplication findClient(String clientId, Request request)
clientId
- the client id to findrequest
- the request that wants the clientorg.forgerock.openam.oauth2.exceptions.OAuthProblemException
Copyright © 2010-2013, ForgeRock All Rights Reserved.