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.AuthorizationGrantHandler
validateGrant
in class org.wso2.carbon.identity.oauth2.token.handlers.grant.AbstractAuthorizationGrantHandler
org.wso2.carbon.identity.oauth2.IdentityOAuth2Exception
public 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.AuthorizationGrantHandler
authorizeAccessDelegation
in class org.wso2.carbon.identity.oauth2.token.handlers.grant.AbstractAuthorizationGrantHandler
org.wso2.carbon.identity.oauth2.IdentityOAuth2Exception
public 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.AuthorizationGrantHandler
validateScope
in class org.wso2.carbon.identity.oauth2.token.handlers.grant.AbstractAuthorizationGrantHandler
org.wso2.carbon.identity.oauth2.IdentityOAuth2Exception
public boolean isOfTypeApplicationUser() throws org.wso2.carbon.identity.oauth2.IdentityOAuth2Exception
isOfTypeApplicationUser
in interface org.wso2.carbon.identity.oauth2.token.handlers.grant.AuthorizationGrantHandler
isOfTypeApplicationUser
in class org.wso2.carbon.identity.oauth2.token.handlers.grant.AbstractAuthorizationGrantHandler
org.wso2.carbon.identity.oauth2.IdentityOAuth2Exception
Copyright © 2007–2017 WSO2. All rights reserved.