Class AuthenticationTokenResponse

java.lang.Object
de.xima.fc.api.rest.pub.client.security.model.AuthenticationTokenResponse
All Implemented Interfaces:
Serializable

@Generated("de.xima.openapi.codegen.java_jaxrs.XimaJavaJaxrsGenerator") public class AuthenticationTokenResponse extends Object implements Serializable
Model representing a token response with several JWTs.
See Also:
  • Field Details

  • Constructor Details

    • AuthenticationTokenResponse

      public AuthenticationTokenResponse()
      Creates a new empty model with no data yet. Use the various setters or fluent setters to add the appropriate data.
  • Method Details

    • accessToken

      public AuthenticationTokenResponse accessToken(String accessToken)
      Creates a new model with the given enum and no other data. Use the various setters or fluent setters to add further data.
    • getAccessToken

      @Nullable public String getAccessToken()
      The access token to be used for authentication.
      Returns:
      accessToken
    • setAccessToken

      public void setAccessToken(String accessToken)
    • expiresIn

      public AuthenticationTokenResponse expiresIn(Long expiresIn)
      Creates a new model with the given enum and no other data. Use the various setters or fluent setters to add further data.
    • getExpiresIn

      @Nullable public Long getExpiresIn()
      The time in seconds until the access token expires.
      Returns:
      expiresIn
    • setExpiresIn

      public void setExpiresIn(Long expiresIn)
    • idToken

      public AuthenticationTokenResponse idToken(String idToken)
      Creates a new model with the given enum and no other data. Use the various setters or fluent setters to add further data.
    • getIdToken

      @Nullable public String getIdToken()
      The id token containing user information.
      Returns:
      idToken
    • setIdToken

      public void setIdToken(String idToken)
    • idTokenExpiresIn

      public AuthenticationTokenResponse idTokenExpiresIn(Long idTokenExpiresIn)
      Creates a new model with the given enum and no other data. Use the various setters or fluent setters to add further data.
    • getIdTokenExpiresIn

      @Nullable public Long getIdTokenExpiresIn()
      The time in seconds until the refresh token expires.
      Returns:
      idTokenExpiresIn
    • setIdTokenExpiresIn

      public void setIdTokenExpiresIn(Long idTokenExpiresIn)
    • refreshExpiresIn

      public AuthenticationTokenResponse refreshExpiresIn(Long refreshExpiresIn)
      Creates a new model with the given enum and no other data. Use the various setters or fluent setters to add further data.
    • getRefreshExpiresIn

      @Nullable public Long getRefreshExpiresIn()
      The time in seconds until the refresh token expires.
      Returns:
      refreshExpiresIn
    • setRefreshExpiresIn

      public void setRefreshExpiresIn(Long refreshExpiresIn)
    • refreshToken

      public AuthenticationTokenResponse refreshToken(String refreshToken)
      Creates a new model with the given enum and no other data. Use the various setters or fluent setters to add further data.
    • getRefreshToken

      @Nullable public String getRefreshToken()
      The refresh token to be used for refreshing the access token.
      Returns:
      refreshToken
    • setRefreshToken

      public void setRefreshToken(String refreshToken)
    • tokenType

      public AuthenticationTokenResponse tokenType(String tokenType)
      Creates a new model with the given enum and no other data. Use the various setters or fluent setters to add further data.
    • getTokenType

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

      public void setTokenType(String tokenType)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object