Package org.gatein.security.oauth.google

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

Related Classes of org.gatein.security.oauth.google.GoogleAccessTokenContext

Copyright © 2018 www.massapicom. 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.