Examples of OAuth2TokenValidationRequestDTO


Examples of org.wso2.carbon.identity.oauth2.stub.dto.OAuth2TokenValidationRequestDTO

        }
    }


    public OAuth2TokenValidationResponseDTO validateAuthenticationRequest(String accessToken) throws Exception{
        OAuth2TokenValidationRequestDTO  oauthReq = new OAuth2TokenValidationRequestDTO();
        oauthReq.setAccessToken(accessToken);
        oauthReq.setTokenType(OAuthConstants.BEARER_TOKEN_TYPE);
        try {
            return stub.validate(oauthReq);
        } catch (RemoteException e) {
            log.error("Error while validating OAuth2 request");
            throw new Exception("Error while validating OAuth2 request", e);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.