Package sh.ory.model

Class SubmitSelfServiceLoginFlowBody

java.lang.Object
sh.ory.model.SubmitSelfServiceLoginFlowBody

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
           date="2022-04-19T11:31:27.587817519Z[Etc/UTC]")
public class SubmitSelfServiceLoginFlowBody
extends Object
SubmitSelfServiceLoginFlowBody
  • Field Details

  • Constructor Details

    • SubmitSelfServiceLoginFlowBody

      public SubmitSelfServiceLoginFlowBody()
  • Method Details

    • csrfToken

      public SubmitSelfServiceLoginFlowBody csrfToken​(String csrfToken)
    • getCsrfToken

      @Nullable public String getCsrfToken()
      Sending the anti-csrf token is only required for browser login flows.
      Returns:
      csrfToken
    • setCsrfToken

      public void setCsrfToken​(String csrfToken)
    • identifier

      public SubmitSelfServiceLoginFlowBody identifier​(String identifier)
    • getIdentifier

      @Nonnull public String getIdentifier()
      Identifier is the email or username of the user trying to log in. This field is only required when using WebAuthn for passwordless login. When using WebAuthn for multi-factor authentication, it is not needed.
      Returns:
      identifier
    • setIdentifier

      public void setIdentifier​(String identifier)
    • method

      public SubmitSelfServiceLoginFlowBody method​(String method)
    • getMethod

      @Nonnull public String getMethod()
      Method should be set to \"lookup_secret\" when logging in using the lookup_secret strategy.
      Returns:
      method
    • setMethod

      public void setMethod​(String method)
    • password

      public SubmitSelfServiceLoginFlowBody password​(String password)
    • getPassword

      @Nonnull public String getPassword()
      The user's password.
      Returns:
      password
    • setPassword

      public void setPassword​(String password)
    • passwordIdentifier

      public SubmitSelfServiceLoginFlowBody passwordIdentifier​(String passwordIdentifier)
    • getPasswordIdentifier

      @Nonnull public String getPasswordIdentifier()
      Identifier is the email or username of the user trying to log in. This field is deprecated!
      Returns:
      passwordIdentifier
    • setPasswordIdentifier

      public void setPasswordIdentifier​(String passwordIdentifier)
    • provider

      public SubmitSelfServiceLoginFlowBody provider​(String provider)
    • getProvider

      @Nonnull public String getProvider()
      The provider to register with
      Returns:
      provider
    • setProvider

      public void setProvider​(String provider)
    • traits

      public SubmitSelfServiceLoginFlowBody traits​(Object traits)
    • getTraits

      @Nullable public Object getTraits()
      The identity traits. This is a placeholder for the registration flow.
      Returns:
      traits
    • setTraits

      public void setTraits​(Object traits)
    • totpCode

      public SubmitSelfServiceLoginFlowBody totpCode​(String totpCode)
    • getTotpCode

      @Nonnull public String getTotpCode()
      The TOTP code.
      Returns:
      totpCode
    • setTotpCode

      public void setTotpCode​(String totpCode)
    • webauthnLogin

      public SubmitSelfServiceLoginFlowBody webauthnLogin​(String webauthnLogin)
    • getWebauthnLogin

      @Nullable public String getWebauthnLogin()
      Login a WebAuthn Security Key This must contain the ID of the WebAuthN connection.
      Returns:
      webauthnLogin
    • setWebauthnLogin

      public void setWebauthnLogin​(String webauthnLogin)
    • lookupSecret

      public SubmitSelfServiceLoginFlowBody lookupSecret​(String lookupSecret)
    • getLookupSecret

      @Nonnull public String getLookupSecret()
      The lookup secret.
      Returns:
      lookupSecret
    • setLookupSecret

      public void setLookupSecret​(String lookupSecret)
    • 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