Examples of GoogleAccessTokenContext


Examples of org.gatein.security.oauth.google.GoogleAccessTokenContext

    }

    @Override
    protected OAuthPrincipal<GoogleAccessTokenContext> getOAuthPrincipal(HttpServletRequest request, HttpServletResponse response,
                                                                         InteractionState<GoogleAccessTokenContext> interactionState) {
        GoogleAccessTokenContext accessTokenContext = interactionState.getAccessTokenContext();
        Userinfo userInfo = ((GoogleProcessor)getOauthProviderProcessor()).obtainUserInfo(accessTokenContext);

        if (log.isTraceEnabled()) {
            log.trace("Obtained tokenResponse from Google authentication: " + accessTokenContext);
            log.trace("User info from Google: " + userInfo);
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.