Modifier and Type | Method and Description |
---|---|
List<OAuthPermission> |
OAuthAuthorizationData.getAllPermissions() |
List<OAuthPermission> |
OAuthAuthorizationData.getAlreadyAuthorizedPermissions()
Get the list of scopes already approved by a user
|
List<OAuthPermission> |
OAuthContext.getPermissions()
Gets the list of the permissions assigned to the current access token
|
List<OAuthPermission> |
OAuthAuthorizationData.getPermissions()
Get the list of scopes translated to
Permission instances
requested by the client application |
List<OAuthPermission> |
ServerAccessToken.getScopes()
Returns a list of opaque permissions/scopes
|
List<OAuthPermission> |
AccessTokenValidation.getTokenScopes() |
Modifier and Type | Method and Description |
---|---|
void |
OAuthAuthorizationData.setAlreadyAuthorizedPermissions(List<OAuthPermission> perms)
Set the list of scopes already approved by a user
|
void |
OAuthAuthorizationData.setPermissions(List<OAuthPermission> permissions)
Set the list of scopes translated to
OAuthPermission instances |
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> requestedScopes) |
List<OAuthPermission> |
OAuthDataProvider.convertScopeToPermissions(Client client,
List<String> requestedScopes)
Converts the requested scopes to the list of permissions.
|
Map<String,OAuthPermission> |
AbstractOAuthDataProvider.getPermissionMap() |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractOAuthDataProvider.convertSingleScopeToPermission(Client client,
String scope,
List<OAuthPermission> perms) |
void |
AbstractOAuthDataProvider.setPermissionMap(Map<String,OAuthPermission> permissionMap) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
RedirectionBasedGrantService.canAuthorizationBeSkipped(javax.ws.rs.core.MultivaluedMap<String,String> params,
Client client,
UserSubject userSubject,
List<String> requestedScope,
List<OAuthPermission> permissions) |
protected OAuthAuthorizationData |
RedirectionBasedGrantService.createAuthorizationData(Client client,
javax.ws.rs.core.MultivaluedMap<String,String> params,
String redirectUri,
UserSubject subject,
List<OAuthPermission> requestedPerms,
List<OAuthPermission> alreadyAuthorizedPerms,
boolean authorizationCanBeSkipped)
Create the authorization challenge data
|
protected OAuthAuthorizationData |
RedirectionBasedGrantService.createAuthorizationData(Client client,
javax.ws.rs.core.MultivaluedMap<String,String> params,
String redirectUri,
UserSubject subject,
List<OAuthPermission> requestedPerms,
List<OAuthPermission> alreadyAuthorizedPerms,
boolean authorizationCanBeSkipped)
Create the authorization challenge data
|
protected OAuthAuthorizationData |
ImplicitGrantService.createAuthorizationData(Client client,
javax.ws.rs.core.MultivaluedMap<String,String> params,
String redirectUri,
UserSubject subject,
List<OAuthPermission> requestedPerms,
List<OAuthPermission> alreadyAuthorizedPerms,
boolean authorizationCanBeSkipped) |
protected OAuthAuthorizationData |
ImplicitGrantService.createAuthorizationData(Client client,
javax.ws.rs.core.MultivaluedMap<String,String> params,
String redirectUri,
UserSubject subject,
List<OAuthPermission> requestedPerms,
List<OAuthPermission> alreadyAuthorizedPerms,
boolean authorizationCanBeSkipped) |
protected boolean |
RedirectionBasedGrantService.noConsentForRequestedScopes(javax.ws.rs.core.MultivaluedMap<String,String> params,
Client client,
UserSubject userSubject,
List<String> requestedScope,
List<OAuthPermission> permissions) |
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 |
---|---|
protected boolean |
OidcAuthorizationCodeService.canAuthorizationBeSkipped(javax.ws.rs.core.MultivaluedMap<String,String> params,
Client client,
UserSubject userSubject,
List<String> requestedScope,
List<OAuthPermission> permissions) |
protected boolean |
OidcImplicitService.canAuthorizationBeSkipped(javax.ws.rs.core.MultivaluedMap<String,String> params,
Client client,
UserSubject userSubject,
List<String> requestedScope,
List<OAuthPermission> permissions) |
Apache CXF