public class MobileGrant
extends org.wso2.carbon.identity.oauth2.token.handlers.grant.AbstractAuthorizationGrantHandler
| Modifier and Type | Field and Description |
|---|---|
static String |
MOBILE_GRANT_PARAM |
| Constructor and Description |
|---|
MobileGrant() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
authorizeAccessDelegation(org.wso2.carbon.identity.oauth2.token.OAuthTokenReqMessageContext tokReqMsgCtx) |
boolean |
isOfTypeApplicationUser() |
boolean |
validateGrant(org.wso2.carbon.identity.oauth2.token.OAuthTokenReqMessageContext oAuthTokenReqMessageContext) |
boolean |
validateScope(org.wso2.carbon.identity.oauth2.token.OAuthTokenReqMessageContext tokReqMsgCtx) |
public static final String MOBILE_GRANT_PARAM
public 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.AbstractAuthorizationGrantHandlerorg.wso2.carbon.identity.oauth2.IdentityOAuth2Exceptionpublic boolean authorizeAccessDelegation(org.wso2.carbon.identity.oauth2.token.OAuthTokenReqMessageContext tokReqMsgCtx)
throws org.wso2.carbon.identity.oauth2.IdentityOAuth2Exception
authorizeAccessDelegation in interface org.wso2.carbon.identity.oauth2.token.handlers.grant.AuthorizationGrantHandlerauthorizeAccessDelegation in class org.wso2.carbon.identity.oauth2.token.handlers.grant.AbstractAuthorizationGrantHandlerorg.wso2.carbon.identity.oauth2.IdentityOAuth2Exceptionpublic boolean validateScope(org.wso2.carbon.identity.oauth2.token.OAuthTokenReqMessageContext tokReqMsgCtx)
throws org.wso2.carbon.identity.oauth2.IdentityOAuth2Exception
validateScope in interface org.wso2.carbon.identity.oauth2.token.handlers.grant.AuthorizationGrantHandlervalidateScope in class org.wso2.carbon.identity.oauth2.token.handlers.grant.AbstractAuthorizationGrantHandlerorg.wso2.carbon.identity.oauth2.IdentityOAuth2Exceptionpublic boolean isOfTypeApplicationUser()
throws org.wso2.carbon.identity.oauth2.IdentityOAuth2Exception
isOfTypeApplicationUser in interface org.wso2.carbon.identity.oauth2.token.handlers.grant.AuthorizationGrantHandlerisOfTypeApplicationUser in class org.wso2.carbon.identity.oauth2.token.handlers.grant.AbstractAuthorizationGrantHandlerorg.wso2.carbon.identity.oauth2.IdentityOAuth2ExceptionCopyright © 2007–2017 WSO2. All rights reserved.