Class AuthResponse


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2020-06-18T21:51:17.428661900+02:00[Europe/Paris]")
    public class AuthResponse
    extends Object
    AuthResponse
    • Constructor Detail

      • AuthResponse

        public AuthResponse()
    • Method Detail

      • getAccessToken

        @Nullable
        public String getAccessToken()
        An access token to be provided in requests to the API via the `Authorization` HTTP header. The header value should prefixed with `Bearer` and a single space, so: `Bearer `.
        Returns:
        accessToken
      • setAccessToken

        public void setAccessToken​(String accessToken)
      • getRefreshToken

        @Nullable
        public String getRefreshToken()
        A refresh token that can be used to get new access tokens for longer periods of time (up to 7 days). For long-running sessions and clients that want to keep the connection to Confidentify open, we recommend storing refresh tokens instead of other types of credentials.
        Returns:
        refreshToken
      • setRefreshToken

        public void setRefreshToken​(String refreshToken)
      • getRegistered

        @Nullable
        public Boolean getRegistered()
        Indicates whether the user has a registered account or not. If authentication was able to validate user credentials but an account has not been registered for this user, the user will be able to call a limited set of endpoints in order to register an account.
        Returns:
        registered
      • setRegistered

        public void setRegistered​(Boolean registered)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object