Package sh.ory.model
Class SubmitSelfServiceSettingsFlowBody
java.lang.Object
sh.ory.model.SubmitSelfServiceSettingsFlowBody
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-04-19T11:31:27.587817519Z[Etc/UTC]") public class SubmitSelfServiceSettingsFlowBody extends Object
SubmitSelfServiceSettingsFlowBody
-
Field Summary
Fields Modifier and Type Field Description protected Stringmethodstatic StringSERIALIZED_NAME_CSRF_TOKENstatic StringSERIALIZED_NAME_FLOWstatic StringSERIALIZED_NAME_LINKstatic StringSERIALIZED_NAME_LOOKUP_SECRET_CONFIRMstatic StringSERIALIZED_NAME_LOOKUP_SECRET_DISABLEstatic StringSERIALIZED_NAME_LOOKUP_SECRET_REGENERATEstatic StringSERIALIZED_NAME_LOOKUP_SECRET_REVEALstatic StringSERIALIZED_NAME_METHODstatic StringSERIALIZED_NAME_PASSWORDstatic StringSERIALIZED_NAME_TOTP_CODEstatic StringSERIALIZED_NAME_TOTP_UNLINKstatic StringSERIALIZED_NAME_TRAITSstatic StringSERIALIZED_NAME_UNLINKstatic StringSERIALIZED_NAME_WEBAUTHN_REGISTERstatic StringSERIALIZED_NAME_WEBAUTHN_REGISTER_DISPLAYNAMEstatic StringSERIALIZED_NAME_WEBAUTHN_REMOVE -
Constructor Summary
Constructors Constructor Description SubmitSelfServiceSettingsFlowBody() -
Method Summary
Modifier and Type Method Description SubmitSelfServiceSettingsFlowBodycsrfToken(String csrfToken)booleanequals(Object o)SubmitSelfServiceSettingsFlowBodyflow(String flow)StringgetCsrfToken()CSRFToken is the anti-CSRF tokenStringgetFlow()Flow ID is the flow's ID.StringgetLink()Link this provider Either this or `unlink` must be set.BooleangetLookupSecretConfirm()If set to true will save the regenerated lookup secretsBooleangetLookupSecretDisable()Disables this method if true.BooleangetLookupSecretRegenerate()If set to true will regenerate the lookup secretsBooleangetLookupSecretReveal()If set to true will reveal the lookup secretsStringgetMethod()Method Should be set to \"lookup\" when trying to add, update, or remove a lookup pairing.StringgetPassword()Password is the updated passwordStringgetTotpCode()ValidationTOTP must contain a valid TOTP based on theBooleangetTotpUnlink()UnlinkTOTP if true will remove the TOTP pairing, effectively removing the credential.ObjectgetTraits()The identity's traits in: bodyStringgetUnlink()Unlink this provider Either this or `link` must be set.StringgetWebauthnRegister()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.StringgetWebauthnRemove()Remove a WebAuthn Security Key This must contain the ID of the WebAuthN connection.inthashCode()SubmitSelfServiceSettingsFlowBodylink(String link)SubmitSelfServiceSettingsFlowBodylookupSecretConfirm(Boolean lookupSecretConfirm)SubmitSelfServiceSettingsFlowBodylookupSecretDisable(Boolean lookupSecretDisable)SubmitSelfServiceSettingsFlowBodylookupSecretRegenerate(Boolean lookupSecretRegenerate)SubmitSelfServiceSettingsFlowBodylookupSecretReveal(Boolean lookupSecretReveal)SubmitSelfServiceSettingsFlowBodymethod(String method)SubmitSelfServiceSettingsFlowBodypassword(String password)voidsetCsrfToken(String csrfToken)voidsetFlow(String flow)voidsetLink(String link)voidsetLookupSecretConfirm(Boolean lookupSecretConfirm)voidsetLookupSecretDisable(Boolean lookupSecretDisable)voidsetLookupSecretRegenerate(Boolean lookupSecretRegenerate)voidsetLookupSecretReveal(Boolean lookupSecretReveal)voidsetMethod(String method)voidsetPassword(String password)voidsetTotpCode(String totpCode)voidsetTotpUnlink(Boolean totpUnlink)voidsetTraits(Object traits)voidsetUnlink(String unlink)voidsetWebauthnRegister(String webauthnRegister)voidsetWebauthnRegisterDisplayname(String webauthnRegisterDisplayname)voidsetWebauthnRemove(String webauthnRemove)StringtoString()SubmitSelfServiceSettingsFlowBodytotpCode(String totpCode)SubmitSelfServiceSettingsFlowBodytotpUnlink(Boolean totpUnlink)SubmitSelfServiceSettingsFlowBodytraits(Object traits)SubmitSelfServiceSettingsFlowBodyunlink(String unlink)SubmitSelfServiceSettingsFlowBodywebauthnRegister(String webauthnRegister)SubmitSelfServiceSettingsFlowBodywebauthnRegisterDisplayname(String webauthnRegisterDisplayname)SubmitSelfServiceSettingsFlowBodywebauthnRemove(String webauthnRemove)
-
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_FLOW
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LINK
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_UNLINK
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TOTP_CODE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TOTP_UNLINK
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_WEBAUTHN_REGISTER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_WEBAUTHN_REGISTER_DISPLAYNAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_WEBAUTHN_REMOVE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LOOKUP_SECRET_CONFIRM
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LOOKUP_SECRET_DISABLE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LOOKUP_SECRET_REGENERATE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LOOKUP_SECRET_REVEAL
- See Also:
- Constant Field Values
-
-
Constructor Details
-
SubmitSelfServiceSettingsFlowBody
public SubmitSelfServiceSettingsFlowBody()
-
-
Method Details
-
csrfToken
-
getCsrfToken
CSRFToken is the anti-CSRF token- Returns:
- csrfToken
-
setCsrfToken
-
method
-
getMethod
Method Should be set to \"lookup\" when trying to add, update, or remove a lookup pairing.- Returns:
- method
-
setMethod
-
password
-
getPassword
Password is the updated password- Returns:
- password
-
setPassword
-
traits
-
getTraits
The identity's traits in: body- Returns:
- traits
-
setTraits
-
flow
-
getFlow
Flow ID is the flow's ID. in: query- Returns:
- flow
-
setFlow
-
link
-
getLink
Link this provider Either this or `unlink` must be set. type: string in: body- Returns:
- link
-
setLink
-
unlink
-
getUnlink
Unlink this provider Either this or `link` must be set. type: string in: body- Returns:
- unlink
-
setUnlink
-
totpCode
-
getTotpCode
ValidationTOTP must contain a valid TOTP based on the- Returns:
- totpCode
-
setTotpCode
-
totpUnlink
-
getTotpUnlink
UnlinkTOTP if true will remove the TOTP pairing, effectively removing the credential. This can be used to set up a new TOTP device.- Returns:
- totpUnlink
-
setTotpUnlink
-
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 SubmitSelfServiceSettingsFlowBody 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
-
webauthnRemove
-
getWebauthnRemove
Remove a WebAuthn Security Key This must contain the ID of the WebAuthN connection.- Returns:
- webauthnRemove
-
setWebauthnRemove
-
lookupSecretConfirm
-
getLookupSecretConfirm
If set to true will save the regenerated lookup secrets- Returns:
- lookupSecretConfirm
-
setLookupSecretConfirm
-
lookupSecretDisable
-
getLookupSecretDisable
Disables this method if true.- Returns:
- lookupSecretDisable
-
setLookupSecretDisable
-
lookupSecretRegenerate
-
getLookupSecretRegenerate
If set to true will regenerate the lookup secrets- Returns:
- lookupSecretRegenerate
-
setLookupSecretRegenerate
-
lookupSecretReveal
-
getLookupSecretReveal
If set to true will reveal the lookup secrets- Returns:
- lookupSecretReveal
-
setLookupSecretReveal
-
equals
-
hashCode
public int hashCode() -
toString
-