Package sh.ory.model
Class SubmitSelfServiceRegistrationFlowBody
java.lang.Object
sh.ory.model.SubmitSelfServiceRegistrationFlowBody
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-04-19T11:31:27.587817519Z[Etc/UTC]") public class SubmitSelfServiceRegistrationFlowBody extends Object
SubmitSelfServiceRegistrationFlowBody
-
Field Summary
Fields Modifier and Type Field Description protected Stringmethodstatic StringSERIALIZED_NAME_CSRF_TOKENstatic StringSERIALIZED_NAME_METHODstatic StringSERIALIZED_NAME_PASSWORDstatic StringSERIALIZED_NAME_PROVIDERstatic StringSERIALIZED_NAME_TRAITSstatic StringSERIALIZED_NAME_WEBAUTHN_REGISTERstatic StringSERIALIZED_NAME_WEBAUTHN_REGISTER_DISPLAYNAME -
Constructor Summary
Constructors Constructor Description SubmitSelfServiceRegistrationFlowBody() -
Method Summary
Modifier and Type Method Description SubmitSelfServiceRegistrationFlowBodycsrfToken(String csrfToken)booleanequals(Object o)StringgetCsrfToken()CSRFToken is the anti-CSRF tokenStringgetMethod()Method Should be set to \"webauthn\" when trying to add, update, or remove a webAuthn pairing.StringgetPassword()Password to sign the user up withStringgetProvider()The provider to register withObjectgetTraits()The identity's traitsStringgetWebauthnRegister()Register a WebAuthn Security Key It is expected that the JSON returned by the WebAuthn registration process is included here.StringgetWebauthnRegisterDisplayname()Name of the WebAuthn Security Key to be Added A human-readable name for the security key which will be added.inthashCode()SubmitSelfServiceRegistrationFlowBodymethod(String method)SubmitSelfServiceRegistrationFlowBodypassword(String password)SubmitSelfServiceRegistrationFlowBodyprovider(String provider)voidsetCsrfToken(String csrfToken)voidsetMethod(String method)voidsetPassword(String password)voidsetProvider(String provider)voidsetTraits(Object traits)voidsetWebauthnRegister(String webauthnRegister)voidsetWebauthnRegisterDisplayname(String webauthnRegisterDisplayname)StringtoString()SubmitSelfServiceRegistrationFlowBodytraits(Object traits)SubmitSelfServiceRegistrationFlowBodywebauthnRegister(String webauthnRegister)SubmitSelfServiceRegistrationFlowBodywebauthnRegisterDisplayname(String webauthnRegisterDisplayname)
-
Field Details
-
SERIALIZED_NAME_CSRF_TOKEN
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_METHOD
- See Also:
- Constant Field Values
-
method
-
SERIALIZED_NAME_PASSWORD
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TRAITS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PROVIDER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_WEBAUTHN_REGISTER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_WEBAUTHN_REGISTER_DISPLAYNAME
- See Also:
- Constant Field Values
-
-
Constructor Details
-
SubmitSelfServiceRegistrationFlowBody
public SubmitSelfServiceRegistrationFlowBody()
-
-
Method Details
-
csrfToken
-
getCsrfToken
CSRFToken is the anti-CSRF token- Returns:
- csrfToken
-
setCsrfToken
-
method
-
getMethod
Method Should be set to \"webauthn\" when trying to add, update, or remove a webAuthn pairing.- Returns:
- method
-
setMethod
-
password
-
getPassword
Password to sign the user up with- Returns:
- password
-
setPassword
-
traits
-
getTraits
The identity's traits- Returns:
- traits
-
setTraits
-
provider
-
getProvider
The provider to register with- Returns:
- provider
-
setProvider
-
webauthnRegister
-
getWebauthnRegister
Register a WebAuthn Security Key It is expected that the JSON returned by the WebAuthn registration process is included here.- Returns:
- webauthnRegister
-
setWebauthnRegister
-
webauthnRegisterDisplayname
public SubmitSelfServiceRegistrationFlowBody webauthnRegisterDisplayname(String webauthnRegisterDisplayname) -
getWebauthnRegisterDisplayname
Name of the WebAuthn Security Key to be Added A human-readable name for the security key which will be added.- Returns:
- webauthnRegisterDisplayname
-
setWebauthnRegisterDisplayname
-
equals
-
hashCode
public int hashCode() -
toString
-