Struct PasswordDictionaryMatchTypeEnum
- Namespace
- Auth0.ManagementApi
- Assembly
- Auth0.ManagementApi.dll
[JsonConverter(typeof(PasswordDictionaryMatchTypeEnum.PasswordDictionaryMatchTypeEnumSerializer))]
[Serializable]
public readonly record struct PasswordDictionaryMatchTypeEnum : IStringEnum, IEquatable<string>, IEquatable<PasswordDictionaryMatchTypeEnum>
- Implements
- Inherited Members
Constructors
PasswordDictionaryMatchTypeEnum(string)
public PasswordDictionaryMatchTypeEnum(string value)
Parameters
valuestring
Fields
Exact
public static readonly PasswordDictionaryMatchTypeEnum Exact
Field Value
Substring
public static readonly PasswordDictionaryMatchTypeEnum Substring
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 PasswordDictionaryMatchTypeEnum FromCustom(string value)
Parameters
valuestring
Returns
ToString()
Returns the string value of the enum.
public override string ToString()
Returns
Operators
operator ==(PasswordDictionaryMatchTypeEnum, string)
public static bool operator ==(PasswordDictionaryMatchTypeEnum value1, string value2)
Parameters
value1PasswordDictionaryMatchTypeEnumvalue2string
Returns
explicit operator string(PasswordDictionaryMatchTypeEnum)
public static explicit operator string(PasswordDictionaryMatchTypeEnum value)
Parameters
Returns
explicit operator PasswordDictionaryMatchTypeEnum(string)
public static explicit operator PasswordDictionaryMatchTypeEnum(string value)
Parameters
valuestring
Returns
operator !=(PasswordDictionaryMatchTypeEnum, string)
public static bool operator !=(PasswordDictionaryMatchTypeEnum value1, string value2)
Parameters
value1PasswordDictionaryMatchTypeEnumvalue2string