Struct AuthenticationMethodTypeEnum
- Namespace
- Auth0.ManagementApi
- Assembly
- Auth0.ManagementApi.dll
[JsonConverter(typeof(AuthenticationMethodTypeEnum.AuthenticationMethodTypeEnumSerializer))]
[Serializable]
public readonly record struct AuthenticationMethodTypeEnum : IStringEnum, IEquatable<string>, IEquatable<AuthenticationMethodTypeEnum>
- Implements
- Inherited Members
Constructors
AuthenticationMethodTypeEnum(string)
public AuthenticationMethodTypeEnum(string value)
Parameters
valuestring
Fields
public static readonly AuthenticationMethodTypeEnum Email
Field Value
EmailVerification
public static readonly AuthenticationMethodTypeEnum EmailVerification
Field Value
Guardian
public static readonly AuthenticationMethodTypeEnum Guardian
Field Value
Passkey
public static readonly AuthenticationMethodTypeEnum Passkey
Field Value
Password
public static readonly AuthenticationMethodTypeEnum Password
Field Value
Phone
public static readonly AuthenticationMethodTypeEnum Phone
Field Value
Push
public static readonly AuthenticationMethodTypeEnum Push
Field Value
RecoveryCode
public static readonly AuthenticationMethodTypeEnum RecoveryCode
Field Value
Totp
public static readonly AuthenticationMethodTypeEnum Totp
Field Value
WebauthnPlatform
public static readonly AuthenticationMethodTypeEnum WebauthnPlatform
Field Value
WebauthnRoaming
public static readonly AuthenticationMethodTypeEnum WebauthnRoaming
Field Value
Properties
Value
The string value of the enum.
public string Value { get; }
Property Value
Methods
Equals(string?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(string? other)
Parameters
otherstringAn object to compare with this object.
Returns
- bool
true if the current object is equal to the
otherparameter; otherwise, false.
FromCustom(string)
Create a string enum with the given value.
public static AuthenticationMethodTypeEnum FromCustom(string value)
Parameters
valuestring
Returns
ToString()
Returns the string value of the enum.
public override string ToString()
Returns
Operators
operator ==(AuthenticationMethodTypeEnum, string)
public static bool operator ==(AuthenticationMethodTypeEnum value1, string value2)
Parameters
value1AuthenticationMethodTypeEnumvalue2string
Returns
explicit operator string(AuthenticationMethodTypeEnum)
public static explicit operator string(AuthenticationMethodTypeEnum value)
Parameters
Returns
explicit operator AuthenticationMethodTypeEnum(string)
public static explicit operator AuthenticationMethodTypeEnum(string value)
Parameters
valuestring
Returns
operator !=(AuthenticationMethodTypeEnum, string)
public static bool operator !=(AuthenticationMethodTypeEnum value1, string value2)
Parameters
value1AuthenticationMethodTypeEnumvalue2string