Package sh.ory.model
Class SubmitSelfServiceLoginFlowWithTotpMethodBody
java.lang.Object
sh.ory.model.SubmitSelfServiceLoginFlowWithTotpMethodBody
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-04-19T11:31:27.587817519Z[Etc/UTC]") public class SubmitSelfServiceLoginFlowWithTotpMethodBody extends Object
SubmitSelfServiceLoginFlowWithTotpMethodBody
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_CSRF_TOKENstatic StringSERIALIZED_NAME_METHODstatic StringSERIALIZED_NAME_TOTP_CODE -
Constructor Summary
Constructors Constructor Description SubmitSelfServiceLoginFlowWithTotpMethodBody() -
Method Summary
Modifier and Type Method Description SubmitSelfServiceLoginFlowWithTotpMethodBodycsrfToken(String csrfToken)booleanequals(Object o)StringgetCsrfToken()Sending the anti-csrf token is only required for browser login flows.StringgetMethod()Method should be set to \"totp\" when logging in using the TOTP strategy.StringgetTotpCode()The TOTP code.inthashCode()SubmitSelfServiceLoginFlowWithTotpMethodBodymethod(String method)voidsetCsrfToken(String csrfToken)voidsetMethod(String method)voidsetTotpCode(String totpCode)StringtoString()SubmitSelfServiceLoginFlowWithTotpMethodBodytotpCode(String totpCode)
-
Field Details
-
SERIALIZED_NAME_CSRF_TOKEN
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_METHOD
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TOTP_CODE
- See Also:
- Constant Field Values
-
-
Constructor Details
-
SubmitSelfServiceLoginFlowWithTotpMethodBody
public SubmitSelfServiceLoginFlowWithTotpMethodBody()
-
-
Method Details
-
csrfToken
-
getCsrfToken
Sending the anti-csrf token is only required for browser login flows.- Returns:
- csrfToken
-
setCsrfToken
-
method
-
getMethod
Method should be set to \"totp\" when logging in using the TOTP strategy.- Returns:
- method
-
setMethod
-
totpCode
-
getTotpCode
The TOTP code.- Returns:
- totpCode
-
setTotpCode
-
equals
-
hashCode
public int hashCode() -
toString
-