evaluateScope
@Supported
Map<String,Object> evaluateScope(AccessToken accessToken)
throws org.forgerock.oauth2.core.exceptions.ServerException
Gets the specified access token's information related to a scope.
For example it can provide a mechanism to associate scopes with profile attribute values, such as if one of the
scopes is mail the plugin can provide the resource owner's email address in the returned information returned.
- Parameters:
accessToken
- The access token.
- Returns:
- A
Map<String, Object>
of the access token's information.
- Throws:
org.forgerock.oauth2.core.exceptions.ServerException
- If the script evaluation fails or any internal server error occurs.