Class AcceptLoginRequest


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

      • AcceptLoginRequest

        public AcceptLoginRequest()
    • Method Detail

      • getAcr

        @Nullable
        public String getAcr()
        ACR sets the Authentication AuthorizationContext Class Reference value for this authentication session. You can use it to express that, for example, a user authenticated using two factor authentication.
        Returns:
        acr
      • setAcr

        public void setAcr​(String acr)
      • getContext

        @Nullable
        public Object getContext()
        Get context
        Returns:
        context
      • setContext

        public void setContext​(Object context)
      • getForceSubjectIdentifier

        @Nullable
        public String getForceSubjectIdentifier()
        ForceSubjectIdentifier forces the \"pairwise\" user ID of the end-user that authenticated. The \"pairwise\" user ID refers to the (Pairwise Identifier Algorithm)[http://openid.net/specs/openid-connect-core-1_0.html#PairwiseAlg] of the OpenID Connect specification. It allows you to set an obfuscated subject (\"user\") identifier that is unique to the client. Please note that this changes the user ID on endpoint /userinfo and sub claim of the ID Token. It does not change the sub claim in the OAuth 2.0 Introspection. Per default, ORY Hydra handles this value with its own algorithm. In case you want to set this yourself you can use this field. Please note that setting this field has no effect if `pairwise` is not configured in ORY Hydra or the OAuth 2.0 Client does not expect a pairwise identifier (set via `subject_type` key in the client's configuration). Please also be aware that ORY Hydra is unable to properly compute this value during authentication. This implies that you have to compute this value on every authentication process (probably depending on the client ID or some other unique value). If you fail to compute the proper value, then authentication processes which have id_token_hint set might fail.
        Returns:
        forceSubjectIdentifier
      • setForceSubjectIdentifier

        public void setForceSubjectIdentifier​(String forceSubjectIdentifier)
      • getRemember

        @Nullable
        public Boolean getRemember()
        Remember, if set to true, tells ORY Hydra to remember this user by telling the user agent (browser) to store a cookie with authentication data. If the same user performs another OAuth 2.0 Authorization Request, he/she will not be asked to log in again.
        Returns:
        remember
      • setRemember

        public void setRemember​(Boolean remember)
      • getRememberFor

        @Nullable
        public Long getRememberFor()
        RememberFor sets how long the authentication should be remembered for in seconds. If set to `0`, the authorization will be remembered for the duration of the browser session (using a session cookie).
        Returns:
        rememberFor
      • setRememberFor

        public void setRememberFor​(Long rememberFor)
      • getSubject

        public String getSubject()
        Subject is the user ID of the end-user that authenticated.
        Returns:
        subject
      • setSubject

        public void setSubject​(String subject)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object