Uses of Class
io.jans.as.server.model.common.AuthorizationGrant
-
-
Uses of AuthorizationGrant in io.jans.as.server.authorize.ws.rs
Methods in io.jans.as.server.authorize.ws.rs with parameters of type AuthorizationGrant Modifier and Type Method Description io.jans.as.model.authzdetails.AuthzDetails
AuthzDetailsService. checkAuthzDetailsAndSave(io.jans.as.model.authzdetails.AuthzDetails requestedAuthzDetails, AuthorizationGrant authorizationGrant)
-
Uses of AuthorizationGrant in io.jans.as.server.model.audit
Methods in io.jans.as.server.model.audit with parameters of type AuthorizationGrant Modifier and Type Method Description void
OAuth2AuditLog. updateOAuth2AuditLog(AuthorizationGrant authorizationGrant, boolean success)
-
Uses of AuthorizationGrant in io.jans.as.server.model.common
Subclasses of AuthorizationGrant in io.jans.as.server.model.common Modifier and Type Class Description class
AuthorizationCodeGrant
The authorization code is obtained by using an authorization server as an intermediary between the client and resource owner.class
CIBAGrant
An extension grant with the grant type value: urn:openid:params:grant-type:cibaclass
ClientCredentialsGrant
The client credentials (or other forms of client authentication) can be used as an authorization grant when the authorization scope is limited to the protected resources under the control of the client, or to protected resources previously arranged with the authorization server.class
DeviceCodeGrant
An extension grant with the grant type value: urn:ietf:params:oauth:grant-type:device_codeclass
ImplicitGrant
The implicit grant is a simplified authorization code flow optimized for clients implemented in a browser using a scripting language such as JavaScript.class
ResourceOwnerPasswordCredentialsGrant
The resource owner password credentials (i.e.class
SimpleAuthorizationGrant
class
TokenExchangeGrant
Methods in io.jans.as.server.model.common that return AuthorizationGrant Modifier and Type Method Description AuthorizationGrant
AuthorizationGrantList. asGrant(TokenEntity tokenEntity)
AuthorizationGrant
AuthorizationGrantList. assertTokenType(TokenEntity tokenEntity, TokenType tokenType, String clientId)
AuthorizationGrant
AuthorizationGrantList. createAuthorizationGrant(io.jans.as.common.model.common.User user, io.jans.as.common.model.registration.Client client, Date authenticationTime)
AuthorizationGrant
IAuthorizationGrantList. createAuthorizationGrant(io.jans.as.common.model.common.User user, io.jans.as.common.model.registration.Client client, Date authenticationTime)
AuthorizationGrant
AuthorizationGrantList. getAuthorizationGrantByAccessToken(String accessToken)
AuthorizationGrant
IAuthorizationGrantList. getAuthorizationGrantByAccessToken(String tokenCode)
AuthorizationGrant
AuthorizationGrantList. getAuthorizationGrantByIdToken(String idToken)
AuthorizationGrant
IAuthorizationGrantList. getAuthorizationGrantByIdToken(String idToken)
AuthorizationGrant
AuthorizationGrantList. getAuthorizationGrantByRefreshToken(String clientId, String refreshTokenCode)
AuthorizationGrant
IAuthorizationGrantList. getAuthorizationGrantByRefreshToken(String clientId, String refreshTokenCode)
AuthorizationGrant
ExecutionContext. getGrant()
Methods in io.jans.as.server.model.common that return types with arguments of type AuthorizationGrant Modifier and Type Method Description List<AuthorizationGrant>
AuthorizationGrantList. getAuthorizationGrant(String clientId)
List<AuthorizationGrant>
IAuthorizationGrantList. getAuthorizationGrant(String clientId)
Methods in io.jans.as.server.model.common with parameters of type AuthorizationGrant Modifier and Type Method Description void
ExecutionContext. initFromGrantIfNeeded(AuthorizationGrant authorizationGrant)
void
ExecutionContext. setGrant(AuthorizationGrant grant)
Method parameters in io.jans.as.server.model.common with type arguments of type AuthorizationGrant Modifier and Type Method Description void
AuthorizationGrantList. removeAuthorizationGrants(List<AuthorizationGrant> authorizationGrants)
void
IAuthorizationGrantList. removeAuthorizationGrants(List<AuthorizationGrant> authorizationGrants)
Constructors in io.jans.as.server.model.common with parameters of type AuthorizationGrant Constructor Description CacheGrant(AuthorizationGrant grant, io.jans.as.model.configuration.AppConfiguration appConfiguration)
-
Uses of AuthorizationGrant in io.jans.as.server.revoke
Methods in io.jans.as.server.revoke with parameters of type AuthorizationGrant Modifier and Type Method Description void
RevokeRestWebServiceImpl. validateSameClient(AuthorizationGrant grant, io.jans.as.common.model.registration.Client client)
void
RevokeRestWebServiceImpl. validateScope(AuthorizationGrant authorizationGrant, io.jans.as.common.model.registration.Client client)
-
Uses of AuthorizationGrant in io.jans.as.server.service
Methods in io.jans.as.server.service with parameters of type AuthorizationGrant Modifier and Type Method Description String
IntrospectionService. createResponseAsJwt(org.json.JSONObject response, AuthorizationGrant grant)
String
IntrospectionService. createResponseJwt(org.json.JSONObject response, AuthorizationGrant grant)
void
IntrospectionService. fillPayload(io.jans.as.model.jwt.Jwt jwt, org.json.JSONObject response, AuthorizationGrant grant)
void
GrantService. remove(AuthorizationGrant grant)
void
IntrospectionService. validateIntrospectionScopePresence(AuthorizationGrant authorizationGrant)
-
Uses of AuthorizationGrant in io.jans.as.server.service.external.context
Methods in io.jans.as.server.service.external.context that return AuthorizationGrant Modifier and Type Method Description AuthorizationGrant
ExternalUpdateTokenContext. getGrant()
AuthorizationGrant
ModifySsaResponseContext. getGrant()
AuthorizationGrant
ExternalIntrospectionContext. getGrantOfIntrospectionToken()
AuthorizationGrant
ExternalIntrospectionContext. getTokenGrant()
Methods in io.jans.as.server.service.external.context with parameters of type AuthorizationGrant Modifier and Type Method Description void
ExternalUpdateTokenContext. setGrant(AuthorizationGrant grant)
void
ExternalIntrospectionContext. setGrantOfIntrospectionToken(AuthorizationGrant grantOfIntrospectionToken)
Constructors in io.jans.as.server.service.external.context with parameters of type AuthorizationGrant Constructor Description ExternalIntrospectionContext(AuthorizationGrant tokenGrant, jakarta.servlet.http.HttpServletRequest httpRequest, jakarta.servlet.http.HttpServletResponse httpResponse, io.jans.as.model.configuration.AppConfiguration appConfiguration, io.jans.as.common.service.AttributeService attributeService)
ExternalUpdateTokenContext(jakarta.servlet.http.HttpServletRequest httpRequest, AuthorizationGrant grant, io.jans.as.common.model.registration.Client client, io.jans.as.model.configuration.AppConfiguration appConfiguration, io.jans.as.common.service.AttributeService attributeService)
ModifySsaResponseContext(jakarta.servlet.http.HttpServletRequest httpRequest, AuthorizationGrant grant, io.jans.as.common.model.registration.Client client, io.jans.as.model.configuration.AppConfiguration appConfiguration, io.jans.as.common.service.AttributeService attributeService)
-
Uses of AuthorizationGrant in io.jans.as.server.service.token
Methods in io.jans.as.server.service.token that return AuthorizationGrant Modifier and Type Method Description @Nullable AuthorizationGrant
TokenService. getAuthorizationGrant(@Nullable String authorization)
@Nullable AuthorizationGrant
TokenService. getAuthorizationGrant(@Nullable String authorization, @Nullable HttpAuthTokenType tokenType)
@Nullable AuthorizationGrant
TokenService. getBasicAuthorizationGrant(@Nullable String authorization)
@Nullable AuthorizationGrant
TokenService. getBearerAuthorizationGrant(@Nullable String authorization)
-
Uses of AuthorizationGrant in io.jans.as.server.session.ws.rs
Methods in io.jans.as.server.session.ws.rs that return AuthorizationGrant Modifier and Type Method Description protected AuthorizationGrant
EndSessionRestWebServiceImpl. getTokenHintGrant(String idTokenHint)
Method parameters in io.jans.as.server.session.ws.rs with type arguments of type AuthorizationGrant Modifier and Type Method Description protected String
EndSessionRestWebServiceImpl. validatePostLogoutRedirectUri(String postLogoutRedirectUri, io.jans.util.Pair<io.jans.as.common.model.session.SessionId,AuthorizationGrant> pair, String state, String clientId)
-
Uses of AuthorizationGrant in io.jans.as.server.token.ws.rs
Methods in io.jans.as.server.token.ws.rs with parameters of type AuthorizationGrant Modifier and Type Method Description void
TokenExchangeService. rotateDeviceSecretOnRefreshToken(jakarta.servlet.http.HttpServletRequest httpRequest, AuthorizationGrant refreshGrant, String scope)
void
TokenRestWebServiceValidator. validateGrant(AuthorizationGrant grant, io.jans.as.common.model.registration.Client client, Object identifier, OAuth2AuditLog auditLog)
void
TokenRestWebServiceValidator. validateGrant(AuthorizationGrant grant, io.jans.as.common.model.registration.Client client, Object identifier, OAuth2AuditLog auditLog, Consumer<AuthorizationGrant> onFailure)
Method parameters in io.jans.as.server.token.ws.rs with type arguments of type AuthorizationGrant Modifier and Type Method Description void
TokenRestWebServiceValidator. validateGrant(AuthorizationGrant grant, io.jans.as.common.model.registration.Client client, Object identifier, OAuth2AuditLog auditLog, Consumer<AuthorizationGrant> onFailure)
-
Uses of AuthorizationGrant in io.jans.as.server.uma.service
Methods in io.jans.as.server.uma.service that return AuthorizationGrant Modifier and Type Method Description AuthorizationGrant
UmaValidationService. assertHasProtectionScope(String authorization)
-
Uses of AuthorizationGrant in io.jans.as.server.userinfo.ws.rs
Methods in io.jans.as.server.userinfo.ws.rs with parameters of type AuthorizationGrant Modifier and Type Method Description String
UserInfoRestWebServiceImpl. getJSonResponse(io.jans.as.common.model.common.User user, AuthorizationGrant authorizationGrant, Collection<String> scopes)
Builds a JSon String with the response parameters.String
UserInfoRestWebServiceImpl. getJweResponse(io.jans.as.model.crypto.encryption.KeyEncryptionAlgorithm keyEncryptionAlgorithm, io.jans.as.model.crypto.encryption.BlockEncryptionAlgorithm blockEncryptionAlgorithm, io.jans.as.common.model.common.User user, AuthorizationGrant authorizationGrant, Collection<String> scopes)
-