Klasse OAuth2Response

java.lang.Object
de.dlr.proseo.api.prip.rest.model.OAuth2Response
Alle implementierten Schnittstellen:
Serializable

public class OAuth2Response extends Object implements Serializable
Siehe auch:
  • Felddetails

    • serialVersionUID

      static final long serialVersionUID
      Siehe auch:
    • accessToken

      protected String accessToken
      The access token issued by the authorization server (as per RFC 6749)
    • tokenType

      protected String tokenType
      The type of the token issued (as per RFC 6749; always "bearer")
    • expiresIn

      protected Long expiresIn
      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 (as per RFC 6749)
  • Konstruktordetails

    • OAuth2Response

      public OAuth2Response()
      Creates a new OAuth2Response.
    • OAuth2Response

      public OAuth2Response(String accessToken, String tokenType, Long expiresIn)
      Creates a new OAuth2Response.
  • Methodendetails

    • getAccessToken

      @NotNull public @NotNull String getAccessToken()
      Returns the accessToken.
      Gibt zurück:
      accessToken
    • setAccessToken

      public void setAccessToken(String accessToken)
      Set the accessToken.
      Parameter:
      accessToken - the new accessToken
    • getTokenType

      @NotNull public @NotNull String getTokenType()
      Returns the tokenType.
      Gibt zurück:
      tokenType
    • setTokenType

      public void setTokenType(String tokenType)
      Set the tokenType.
      Parameter:
      tokenType - the new tokenType
    • getExpiresIn

      @NotNull public @NotNull Long getExpiresIn()
      Returns the expiresIn.
      Gibt zurück:
      expiresIn
    • setExpiresIn

      public void setExpiresIn(Long expiresIn)
      Set the expiresIn.
      Parameter:
      expiresIn - the new expiresIn
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • equals

      public boolean equals(Object other)
      Setzt außer Kraft:
      equals in Klasse Object
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object