Modifier and Type | Method and Description |
---|---|
List<OAuthPermission> |
OAuthContext.getPermissions()
Gets the list of the permissions assigned to the current access token
|
List<OAuthPermission> |
ServerAccessToken.getScopes()
Returns a list of opaque permissions/scopes
|
List<OAuthPermission> |
AccessTokenValidation.getTokenScopes() |
Modifier and Type | Method and Description |
---|---|
void |
ServerAccessToken.setScopes(List<OAuthPermission> scopes)
Sets a list of opaque permissions/scopes
|
void |
AccessTokenValidation.setTokenScopes(List<OAuthPermission> tokenPermissions) |
Constructor and Description |
---|
OAuthContext(UserSubject resourceOwnerSubject,
UserSubject clientSubject,
List<OAuthPermission> perms,
String tokenGrantType) |
Modifier and Type | Method and Description |
---|---|
List<OAuthPermission> |
AbstractOAuthDataProvider.convertScopeToPermissions(Client client,
List<String> requestedScope) |
List<OAuthPermission> |
OAuthDataProvider.convertScopeToPermissions(Client client,
List<String> requestedScope)
Converts the requested scope to the list of permissions
|
Modifier and Type | Method and Description |
---|---|
protected OAuthAuthorizationData |
AuthorizationCodeGrantService.createAuthorizationData(Client client,
javax.ws.rs.core.MultivaluedMap<String,String> params,
String redirectUri,
UserSubject subject,
List<OAuthPermission> perms,
boolean preAuthorizedTokenAvailable) |
protected OAuthAuthorizationData |
RedirectionBasedGrantService.createAuthorizationData(Client client,
javax.ws.rs.core.MultivaluedMap<String,String> params,
String redirectUri,
UserSubject subject,
List<OAuthPermission> perms,
boolean preAuthorizedTokenAvailable)
Create the authorization challenge data
|
Modifier and Type | Method and Description |
---|---|
static List<OAuthPermission> |
OAuthContextUtils.resolvePermissions(MessageContext mc) |
Modifier and Type | Method and Description |
---|---|
static String |
OAuthUtils.convertPermissionsToScope(List<OAuthPermission> perms) |
static List<String> |
OAuthUtils.convertPermissionsToScopeList(List<OAuthPermission> perms) |
Modifier and Type | Method and Description |
---|---|
IdToken |
UserInfoProvider.getIdToken(String clientId,
UserSubject authenticatedUser,
List<OAuthPermission> scopes) |
UserInfo |
UserInfoProvider.getUserInfo(String clientId,
UserSubject authenticatedUser,
List<OAuthPermission> scopes) |
Apache CXF