Package | Description |
---|---|
org.forgerock.openig.filter.oauth2.client |
OAuth 2.0 Client filter implementation.
|
Modifier and Type | Method and Description |
---|---|
JsonValue |
ClientRegistration.getAccessToken(Context context,
String code,
String callbackUri)
Exchanges the authorization code for an access token and optional ID
token, and then update the session state.
|
JsonValue |
ClientRegistration.getUserInfo(Context context,
org.forgerock.openig.filter.oauth2.client.OAuth2Session session)
Returns the json value of the user info obtained from the authorization
server if the response from the authorization server has a status code of
200.
|
JsonValue |
ClientRegistration.refreshAccessToken(Context context,
org.forgerock.openig.filter.oauth2.client.OAuth2Session session)
Refreshes the actual access token, making a refresh request to the token
end-point.
|
Copyright 2011-2015 ForgeRock AS.