Package sh.ory.model
Class SubmitSelfServiceLoginFlowWithPasswordMethodBody
java.lang.Object
sh.ory.model.SubmitSelfServiceLoginFlowWithPasswordMethodBody
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-04-19T11:31:27.587817519Z[Etc/UTC]") public class SubmitSelfServiceLoginFlowWithPasswordMethodBody extends Object
SubmitSelfServiceLoginFlowWithPasswordMethodBody
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_CSRF_TOKENstatic StringSERIALIZED_NAME_IDENTIFIERstatic StringSERIALIZED_NAME_METHODstatic StringSERIALIZED_NAME_PASSWORDstatic StringSERIALIZED_NAME_PASSWORD_IDENTIFIER -
Constructor Summary
Constructors Constructor Description SubmitSelfServiceLoginFlowWithPasswordMethodBody() -
Method Summary
Modifier and Type Method Description SubmitSelfServiceLoginFlowWithPasswordMethodBodycsrfToken(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.StringgetMethod()Method should be set to \"password\" when logging in using the identifier and password strategy.StringgetPassword()The user's password.StringgetPasswordIdentifier()Identifier is the email or username of the user trying to log in.inthashCode()SubmitSelfServiceLoginFlowWithPasswordMethodBodyidentifier(String identifier)SubmitSelfServiceLoginFlowWithPasswordMethodBodymethod(String method)SubmitSelfServiceLoginFlowWithPasswordMethodBodypassword(String password)SubmitSelfServiceLoginFlowWithPasswordMethodBodypasswordIdentifier(String passwordIdentifier)voidsetCsrfToken(String csrfToken)voidsetIdentifier(String identifier)voidsetMethod(String method)voidsetPassword(String password)voidsetPasswordIdentifier(String passwordIdentifier)StringtoString()
-
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
-
SERIALIZED_NAME_PASSWORD
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PASSWORD_IDENTIFIER
- See Also:
- Constant Field Values
-
-
Constructor Details
-
SubmitSelfServiceLoginFlowWithPasswordMethodBody
public SubmitSelfServiceLoginFlowWithPasswordMethodBody()
-
-
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.- Returns:
- identifier
-
setIdentifier
-
method
-
getMethod
Method should be set to \"password\" when logging in using the identifier and password strategy.- Returns:
- method
-
setMethod
-
password
-
getPassword
The user's password.- Returns:
- password
-
setPassword
-
passwordIdentifier
public SubmitSelfServiceLoginFlowWithPasswordMethodBody passwordIdentifier(String passwordIdentifier) -
getPasswordIdentifier
Identifier is the email or username of the user trying to log in. This field is deprecated!- Returns:
- passwordIdentifier
-
setPasswordIdentifier
-
equals
-
hashCode
public int hashCode() -
toString
-