public class AuthenticationGrantHandler
extends org.wso2.carbon.identity.oauth2.token.handlers.grant.AbstractAuthorizationGrantHandler
| Constructor and Description |
|---|
AuthenticationGrantHandler() |
| Modifier and Type | Method and Description |
|---|---|
HashMap<String,String> |
fetchOauthParameters(org.wso2.carbon.identity.oauth2.token.OAuthTokenReqMessageContext oAuthTokenReqMessageContext)
Fetch parameters from authentication request.
|
void |
grantValidationFailedResponseBuilder(org.wso2.carbon.identity.oauth2.token.OAuthTokenReqMessageContext oAuthTokenReqMessageContext)
Build the response header in case the user authentication fails both locally and externally.
|
boolean |
validateGrant(org.wso2.carbon.identity.oauth2.token.OAuthTokenReqMessageContext oAuthTokenReqMessageContext)
Validate and Execute the REST OAuth2 Grant.
|
authorizeAccessDelegation, getTokenType, getUserStoreDomain, init, isAuthorizedClient, isConfidentialClient, isOfTypeApplicationUser, issue, issueRefreshToken, storeAccessToken, validateScopepublic boolean validateGrant(org.wso2.carbon.identity.oauth2.token.OAuthTokenReqMessageContext oAuthTokenReqMessageContext)
throws org.wso2.carbon.identity.oauth2.IdentityOAuth2Exception
validateGrant in interface org.wso2.carbon.identity.oauth2.token.handlers.grant.AuthorizationGrantHandlervalidateGrant in class org.wso2.carbon.identity.oauth2.token.handlers.grant.AbstractAuthorizationGrantHandleroAuthTokenReqMessageContext - OAuthTokenReqMessageContextorg.wso2.carbon.identity.oauth2.IdentityOAuth2Exception - Error when validating the Grantpublic HashMap<String,String> fetchOauthParameters(org.wso2.carbon.identity.oauth2.token.OAuthTokenReqMessageContext oAuthTokenReqMessageContext) throws org.wso2.carbon.identity.oauth2.IdentityOAuth2Exception
oAuthTokenReqMessageContext - OAuthTokenReqMessageContextorg.wso2.carbon.identity.oauth2.IdentityOAuth2Exceptionpublic void grantValidationFailedResponseBuilder(org.wso2.carbon.identity.oauth2.token.OAuthTokenReqMessageContext oAuthTokenReqMessageContext)
oAuthTokenReqMessageContext - OAuthTokenReqMessageContextCopyright © 2025 WSO2. All rights reserved.