Package sh.ory.model
Class SubmitSelfServiceRecoveryFlowBody
java.lang.Object
sh.ory.model.SubmitSelfServiceRecoveryFlowBody
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-04-19T11:31:27.587817519Z[Etc/UTC]") public class SubmitSelfServiceRecoveryFlowBody extends Object
SubmitSelfServiceRecoveryFlowBody
-
Field Summary
Fields Modifier and Type Field Description protected Stringmethodstatic StringSERIALIZED_NAME_CSRF_TOKENstatic StringSERIALIZED_NAME_EMAILstatic StringSERIALIZED_NAME_METHOD -
Constructor Summary
Constructors Constructor Description SubmitSelfServiceRecoveryFlowBody() -
Method Summary
Modifier and Type Method Description SubmitSelfServiceRecoveryFlowBodycsrfToken(String csrfToken)SubmitSelfServiceRecoveryFlowBodyemail(String email)booleanequals(Object o)StringgetCsrfToken()Sending the anti-csrf token is only required for browser login flows.StringgetEmail()Email to Recover Needs to be set when initiating the flow.StringgetMethod()Method supports `link` only right now.inthashCode()SubmitSelfServiceRecoveryFlowBodymethod(String method)voidsetCsrfToken(String csrfToken)voidsetEmail(String email)voidsetMethod(String method)StringtoString()
-
Field Details
-
SERIALIZED_NAME_CSRF_TOKEN
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EMAIL
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_METHOD
- See Also:
- Constant Field Values
-
method
-
-
Constructor Details
-
SubmitSelfServiceRecoveryFlowBody
public SubmitSelfServiceRecoveryFlowBody()
-
-
Method Details
-
csrfToken
-
getCsrfToken
Sending the anti-csrf token is only required for browser login flows.- Returns:
- csrfToken
-
setCsrfToken
-
email
-
getEmail
Email to Recover Needs to be set when initiating the flow. If the email is a registered recovery email, a recovery link will be sent. If the email is not known, a email with details on what happened will be sent instead. format: email- Returns:
-
setEmail
-
method
-
getMethod
Method supports `link` only right now.- Returns:
- method
-
setMethod
-
equals
-
hashCode
public int hashCode() -
toString
-