-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathAuthenticatorMethodType.cs
More file actions
53 lines (45 loc) · 1.91 KB
/
Copy pathAuthenticatorMethodType.cs
File metadata and controls
53 lines (45 loc) · 1.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
// <copyright file="AuthenticatorMethodType.cs" company="Okta, Inc">
// Copyright (c) 2020 - present Okta, Inc. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
// </copyright>
using Okta.Sdk.Abstractions;
namespace Okta.Idx.Sdk
{
[System.Diagnostics.CodeAnalysis.SuppressMessage("StyleCop.CSharp.MaintainabilityRules", "SA1401:Fields should be private", Justification = "N/A")]
public sealed class AuthenticatorMethodType : StringEnum
{
/// <summary>
/// SMS
/// </summary>
public static AuthenticatorMethodType Sms = new AuthenticatorMethodType("sms");
/// <summary>
/// Voice
/// </summary>
public static AuthenticatorMethodType Voice = new AuthenticatorMethodType("voice");
/// <summary>
/// Email
/// </summary>
public static AuthenticatorMethodType Email = new AuthenticatorMethodType("email");
/// <summary>
/// Voice
/// </summary>
public static AuthenticatorMethodType Password = new AuthenticatorMethodType("password");
/// <summary>
/// Otp
/// </summary>
public static AuthenticatorMethodType Otp = new AuthenticatorMethodType("otp");
/// <summary>
/// Implicit operator declaration to accept and convert a string value as a <see cref="AuthenticatorMethodType"/>
/// </summary>
/// <param name="value">The value to use</param>
public static implicit operator AuthenticatorMethodType(string value) => new AuthenticatorMethodType(value);
/// <summary>
/// Initializes a new instance of the <see cref="AuthenticatorMethodType"/> class.
/// </summary>
/// <param name="value">The value to use.</param>
public AuthenticatorMethodType(string value)
: base(value)
{
}
}
}