Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package ru.hh.oauth.subscribe.apis.google;
 
 
 public class GoogleToken extends Token {

    
Id_token is part of OpenID Connect specification. It can hold user information that you can directly extract without additional request to provider. See http://openid.net/specs/openid-connect-core-1_0.html#id_token-tokenExample and https://bitbucket.org/nimbusds/nimbus-jose-jwt/wiki/Home Here will be encoded and signed id token in JWT format or null, if not defined.
    private final String openIdToken;
    public GoogleToken(final String tokenfinal String secretfinal String rawResponsefinal String openIdToken) {
        super(tokensecretrawResponse);
        this. = openIdToken;
    }
    @Override
    public String toString() {
        return String.format("GoogleToken{'token'='%s', 'secret'='%s', 'openIdToken'='%s']"getToken(), getSecret(),
                );
    }
New to GrepCode? Check out our FAQ X