LoginMethod
public enum LoginMethod
The UI can start logging in a user either via email or phone number
-
uses email and a one time code to login
Declaration
Swift
case email
-
uses email and a one time code to login; the specified email will appear pre-filled in the identity UI, yet the user will still be able to modify it before submitting.
Declaration
Swift
case emailWithPrefilledValue(EmailAddress)
-
uses phone number and a one time code to login
Declaration
Swift
case phone
-
uses phone number and a one time code to login; the specified phone number will appear pre-filled in the identity UI, yet the user will still be able to modify it before submitting.
Declaration
Swift
case phoneWithPrefilledValue(PhoneNumber.Components)
-
asks for identifier and then a password to either login or signup if not already registered
Declaration
Swift
case password
-
asks for identifier and then a password to either login or signup if not already registered; the specified email will appear pre-filled in the identity UI, yet the user will still be able to modify it before submitting.
Declaration
Swift
case passwordWithPrefilledEmail(EmailAddress)
-
does the user try to signin or signup
See moreDeclaration
Swift
public enum FlowVariant