Table of Contents

Struct AuthenticationTypeEnum

Namespace
Auth0.ManagementApi
Assembly
Auth0.ManagementApi.dll
[JsonConverter(typeof(AuthenticationTypeEnum.AuthenticationTypeEnumSerializer))]
[Serializable]
public readonly record struct AuthenticationTypeEnum : IStringEnum, IEquatable<string>, IEquatable<AuthenticationTypeEnum>
Implements
Inherited Members

Constructors

AuthenticationTypeEnum(string)

public AuthenticationTypeEnum(string value)

Parameters

value string

Fields

Email

public static readonly AuthenticationTypeEnum Email

Field Value

AuthenticationTypeEnum

Phone

public static readonly AuthenticationTypeEnum Phone

Field Value

AuthenticationTypeEnum

Totp

public static readonly AuthenticationTypeEnum Totp

Field Value

AuthenticationTypeEnum

Properties

Value

The string value of the enum.

public string Value { get; }

Property Value

string

Methods

Equals(string?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(string? other)

Parameters

other string

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

FromCustom(string)

Create a string enum with the given value.

public static AuthenticationTypeEnum FromCustom(string value)

Parameters

value string

Returns

AuthenticationTypeEnum

ToString()

Returns the string value of the enum.

public override string ToString()

Returns

string

Operators

operator ==(AuthenticationTypeEnum, string)

public static bool operator ==(AuthenticationTypeEnum value1, string value2)

Parameters

value1 AuthenticationTypeEnum
value2 string

Returns

bool

explicit operator string(AuthenticationTypeEnum)

public static explicit operator string(AuthenticationTypeEnum value)

Parameters

value AuthenticationTypeEnum

Returns

string

explicit operator AuthenticationTypeEnum(string)

public static explicit operator AuthenticationTypeEnum(string value)

Parameters

value string

Returns

AuthenticationTypeEnum

operator !=(AuthenticationTypeEnum, string)

public static bool operator !=(AuthenticationTypeEnum value1, string value2)

Parameters

value1 AuthenticationTypeEnum
value2 string

Returns

bool