Class LoginRequest


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

      • LoginRequest

        public LoginRequest()
    • Method Detail

      • getChallenge

        public String getChallenge()
        ID is the identifier (\"login challenge\") of the login request. It is used to identify the session.
        Returns:
        challenge
      • setChallenge

        public void setChallenge​(String challenge)
      • getClient

        public OAuth2Client getClient()
        Get client
        Returns:
        client
      • setClient

        public void setClient​(OAuth2Client client)
      • getRequestUrl

        public String getRequestUrl()
        RequestURL is the original OAuth 2.0 Authorization URL requested by the OAuth 2.0 client. It is the URL which initiates the OAuth 2.0 Authorization Code or OAuth 2.0 Implicit flow. This URL is typically not needed, but might come in handy if you want to deal with additional request parameters.
        Returns:
        requestUrl
      • setRequestUrl

        public void setRequestUrl​(String requestUrl)
      • requestedAccessTokenAudience

        public LoginRequest requestedAccessTokenAudience​(List<String> requestedAccessTokenAudience)
      • addRequestedAccessTokenAudienceItem

        public LoginRequest addRequestedAccessTokenAudienceItem​(String requestedAccessTokenAudienceItem)
      • getRequestedAccessTokenAudience

        public List<String> getRequestedAccessTokenAudience()
        Get requestedAccessTokenAudience
        Returns:
        requestedAccessTokenAudience
      • setRequestedAccessTokenAudience

        public void setRequestedAccessTokenAudience​(List<String> requestedAccessTokenAudience)
      • addRequestedScopeItem

        public LoginRequest addRequestedScopeItem​(String requestedScopeItem)
      • getRequestedScope

        public List<String> getRequestedScope()
        Get requestedScope
        Returns:
        requestedScope
      • setRequestedScope

        public void setRequestedScope​(List<String> requestedScope)
      • getSessionId

        @Nullable
        public String getSessionId()
        SessionID is the login session ID. If the user-agent reuses a login session (via cookie / remember flag) this ID will remain the same. If the user-agent did not have an existing authentication session (e.g. remember is false) this will be a new random value. This value is used as the \"sid\" parameter in the ID Token and in OIDC Front-/Back- channel logout. It's value can generally be used to associate consecutive login requests by a certain user.
        Returns:
        sessionId
      • setSessionId

        public void setSessionId​(String sessionId)
      • getSkip

        public Boolean getSkip()
        Skip, if true, implies that the client has requested the same scopes from the same user previously. If true, you can skip asking the user to grant the requested scopes, and simply forward the user to the redirect URL. This feature allows you to update / set session information.
        Returns:
        skip
      • setSkip

        public void setSkip​(Boolean skip)
      • getSubject

        public String getSubject()
        Subject is the user ID of the end-user that authenticated. Now, that end user needs to grant or deny the scope requested by the OAuth 2.0 client. If this value is set and `skip` is true, you MUST include this subject type when accepting the login request, or the request will fail.
        Returns:
        subject
      • setSubject

        public void setSubject​(String subject)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object