forked from BrandonPotter/GoogleAuthenticator
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSetupCode.cs
More file actions
27 lines (24 loc) · 819 Bytes
/
SetupCode.cs
File metadata and controls
27 lines (24 loc) · 819 Bytes
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
namespace Google.Authenticator
{
public class SetupCode
{
public string Account { get; internal set; }
public string ManualEntryKey { get; internal set; }
/// <summary>
/// Base64-encoded PNG image
/// </summary>
public string QrCodeSetupImageUrl { get; internal set; }
/// <summary>
/// The Raw otp:// url
/// </summary>
public string SetupUrl { get; internal set; }
public SetupCode() { }
public SetupCode(string account, string manualEntryKey, string qrCodeSetupImageUrl, string setupUrl)
{
Account = account;
ManualEntryKey = manualEntryKey;
QrCodeSetupImageUrl = qrCodeSetupImageUrl;
SetupUrl = setupUrl;
}
}
}