Class OAuth2TokenIntrospection


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2021-01-12T16:13:57.119092Z[GMT]")
    public class OAuth2TokenIntrospection
    extends Object
    https://tools.ietf.org/html/rfc7662
    • Constructor Detail

      • OAuth2TokenIntrospection

        public OAuth2TokenIntrospection()
    • Method Detail

      • getActive

        public Boolean getActive()
        Active is a boolean indicator of whether or not the presented token is currently active. The specifics of a token's \"active\" state will vary depending on the implementation of the authorization server and the information it keeps about its tokens, but a \"true\" value return for the \"active\" property will generally indicate that a given token has been issued by this authorization server, has not been revoked by the resource owner, and is within its given time window of validity (e.g., after its issuance time and before its expiration time).
        Returns:
        active
      • setActive

        public void setActive​(Boolean active)
      • getAud

        @Nullable
        public List<String> getAud()
        Audience contains a list of the token's intended audiences.
        Returns:
        aud
      • setAud

        public void setAud​(List<String> aud)
      • getClientId

        @Nullable
        public String getClientId()
        ID is aclient identifier for the OAuth 2.0 client that requested this token.
        Returns:
        clientId
      • setClientId

        public void setClientId​(String clientId)
      • getExp

        @Nullable
        public Long getExp()
        Expires at is an integer timestamp, measured in the number of seconds since January 1 1970 UTC, indicating when this token will expire.
        Returns:
        exp
      • setExp

        public void setExp​(Long exp)
      • getExt

        @Nullable
        public Object getExt()
        Extra is arbitrary data set by the session.
        Returns:
        ext
      • setExt

        public void setExt​(Object ext)
      • getIat

        @Nullable
        public Long getIat()
        Issued at is an integer timestamp, measured in the number of seconds since January 1 1970 UTC, indicating when this token was originally issued.
        Returns:
        iat
      • setIat

        public void setIat​(Long iat)
      • getIss

        @Nullable
        public String getIss()
        IssuerURL is a string representing the issuer of this token
        Returns:
        iss
      • setIss

        public void setIss​(String iss)
      • getNbf

        @Nullable
        public Long getNbf()
        NotBefore is an integer timestamp, measured in the number of seconds since January 1 1970 UTC, indicating when this token is not to be used before.
        Returns:
        nbf
      • setNbf

        public void setNbf​(Long nbf)
      • getObfuscatedSubject

        @Nullable
        public String getObfuscatedSubject()
        ObfuscatedSubject is set when the subject identifier algorithm was set to \"pairwise\" during authorization. It is the `sub` value of the ID Token that was issued.
        Returns:
        obfuscatedSubject
      • setObfuscatedSubject

        public void setObfuscatedSubject​(String obfuscatedSubject)
      • getScope

        @Nullable
        public String getScope()
        Scope is a JSON string containing a space-separated list of scopes associated with this token.
        Returns:
        scope
      • setScope

        public void setScope​(String scope)
      • getSub

        @Nullable
        public String getSub()
        Subject of the token, as defined in JWT [RFC7519]. Usually a machine-readable identifier of the resource owner who authorized this token.
        Returns:
        sub
      • setSub

        public void setSub​(String sub)
      • getTokenType

        @Nullable
        public String getTokenType()
        TokenType is the introspected token's type, typically `Bearer`.
        Returns:
        tokenType
      • setTokenType

        public void setTokenType​(String tokenType)
      • getTokenUse

        @Nullable
        public String getTokenUse()
        TokenUse is the introspected token's use, for example `access_token` or `refresh_token`.
        Returns:
        tokenUse
      • setTokenUse

        public void setTokenUse​(String tokenUse)
      • getUsername

        @Nullable
        public String getUsername()
        Username is a human-readable identifier for the resource owner who authorized this token.
        Returns:
        username
      • setUsername

        public void setUsername​(String username)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object