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 Summary
Fields Modifier and Type Field Description protected Stringmethodstatic StringSERIALIZED_NAME_CSRF_TOKENstatic StringSERIALIZED_NAME_IDENTIFIERstatic StringSERIALIZED_NAME_LOOKUP_SECRETstatic StringSERIALIZED_NAME_METHODstatic StringSERIALIZED_NAME_PASSWORDstatic StringSERIALIZED_NAME_PASSWORD_IDENTIFIERstatic StringSERIALIZED_NAME_PROVIDERstatic StringSERIALIZED_NAME_TOTP_CODEstatic StringSERIALIZED_NAME_TRAITSstatic StringSERIALIZED_NAME_WEBAUTHN_LOGIN -
Constructor Summary
Constructors Constructor Description SubmitSelfServiceLoginFlowBody() -
Method Summary
Modifier and Type Method Description SubmitSelfServiceLoginFlowBodycsrfToken(String csrfToken)booleanequals(Object o)StringgetCsrfToken()Sending the anti-csrf token is only required for browser login flows.StringgetIdentifier()Identifier is the email or username of the user trying to log in.StringgetLookupSecret()The lookup secret.StringgetMethod()Method should be set to \"lookup_secret\" when logging in using the lookup_secret strategy.StringgetPassword()The user's password.StringgetPasswordIdentifier()Identifier is the email or username of the user trying to log in.StringgetProvider()The provider to register withStringgetTotpCode()The TOTP code.ObjectgetTraits()The identity traits.StringgetWebauthnLogin()Login a WebAuthn Security Key This must contain the ID of the WebAuthN connection.inthashCode()SubmitSelfServiceLoginFlowBodyidentifier(String identifier)SubmitSelfServiceLoginFlowBodylookupSecret(String lookupSecret)SubmitSelfServiceLoginFlowBodymethod(String method)SubmitSelfServiceLoginFlowBodypassword(String password)SubmitSelfServiceLoginFlowBodypasswordIdentifier(String passwordIdentifier)SubmitSelfServiceLoginFlowBodyprovider(String provider)voidsetCsrfToken(String csrfToken)voidsetIdentifier(String identifier)voidsetLookupSecret(String lookupSecret)voidsetMethod(String method)voidsetPassword(String password)voidsetPasswordIdentifier(String passwordIdentifier)voidsetProvider(String provider)voidsetTotpCode(String totpCode)voidsetTraits(Object traits)voidsetWebauthnLogin(String webauthnLogin)StringtoString()SubmitSelfServiceLoginFlowBodytotpCode(String totpCode)SubmitSelfServiceLoginFlowBodytraits(Object traits)SubmitSelfServiceLoginFlowBodywebauthnLogin(String webauthnLogin)
-
Field Details
-
SERIALIZED_NAME_CSRF_TOKEN
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_IDENTIFIER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_METHOD
- See Also:
- Constant Field Values
-
method
-
SERIALIZED_NAME_PASSWORD
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PASSWORD_IDENTIFIER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PROVIDER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TRAITS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TOTP_CODE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_WEBAUTHN_LOGIN
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LOOKUP_SECRET
- See Also:
- Constant Field Values
-
-
Constructor Details
-
SubmitSelfServiceLoginFlowBody
public SubmitSelfServiceLoginFlowBody()
-
-
Method Details
-
csrfToken
-
getCsrfToken
Sending the anti-csrf token is only required for browser login flows.- Returns:
- csrfToken
-
setCsrfToken
-
identifier
-
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
-
method
-
getMethod
Method should be set to \"lookup_secret\" when logging in using the lookup_secret strategy.- Returns:
- method
-
setMethod
-
password
-
getPassword
The user's password.- Returns:
- password
-
setPassword
-
passwordIdentifier
-
getPasswordIdentifier
Identifier is the email or username of the user trying to log in. This field is deprecated!- Returns:
- passwordIdentifier
-
setPasswordIdentifier
-
provider
-
getProvider
The provider to register with- Returns:
- provider
-
setProvider
-
traits
-
getTraits
The identity traits. This is a placeholder for the registration flow.- Returns:
- traits
-
setTraits
-
totpCode
-
getTotpCode
The TOTP code.- Returns:
- totpCode
-
setTotpCode
-
webauthnLogin
-
getWebauthnLogin
Login a WebAuthn Security Key This must contain the ID of the WebAuthN connection.- Returns:
- webauthnLogin
-
setWebauthnLogin
-
lookupSecret
-
getLookupSecret
The lookup secret.- Returns:
- lookupSecret
-
setLookupSecret
-
equals
-
hashCode
public int hashCode() -
toString
-