Class OauthTokenResponse


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2020-01-06T17:14:34.025635+01:00[Europe/Berlin]")
    public class OauthTokenResponse
    extends Object
    The token response
    • Constructor Detail

      • OauthTokenResponse

        public OauthTokenResponse()
    • Method Detail

      • getAccessToken

        @Nullable
        public String getAccessToken()
        The access token issued by the authorization server.
        Returns:
        accessToken
      • setAccessToken

        public void setAccessToken​(String accessToken)
      • getExpiresIn

        @Nullable
        public Long getExpiresIn()
        The lifetime in seconds of the access token. For example, the value \"3600\" denotes that the access token will expire in one hour from the time the response was generated.
        Returns:
        expiresIn
      • setExpiresIn

        public void setExpiresIn​(Long expiresIn)
      • getIdToken

        @Nullable
        public Long getIdToken()
        To retrieve a refresh token request the id_token scope.
        Returns:
        idToken
      • setIdToken

        public void setIdToken​(Long idToken)
      • getRefreshToken

        @Nullable
        public String getRefreshToken()
        The refresh token, which can be used to obtain new access tokens. To retrieve it add the scope \"offline\" to your access token request.
        Returns:
        refreshToken
      • setRefreshToken

        public void setRefreshToken​(String refreshToken)
      • getScope

        @Nullable
        public Long getScope()
        The scope of the access token
        Returns:
        scope
      • setScope

        public void setScope​(Long scope)
      • getTokenType

        @Nullable
        public String getTokenType()
        The type of the token issued
        Returns:
        tokenType
      • setTokenType

        public void setTokenType​(String tokenType)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object