value property
String
get
value
Returns the string value for the provider.
This is used internally by the SDK to communicate with the Calljmp API and should match the expected values on the backend.
Implementation
String get value {
switch (this) {
case UserAuthenticationProvider.emailPassword:
return "email_password";
case UserAuthenticationProvider.emailMagicLink:
return "email_magic_link";
case UserAuthenticationProvider.emailOneTimeCode:
return "email_one_time_code";
case UserAuthenticationProvider.apple:
return "apple";
case UserAuthenticationProvider.google:
return "google";
}
}