2 * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
4 * Licensed under the Apache License, Version 2.0 (the License);
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an AS IS BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
18 using System.Collections.Generic;
20 namespace Tizen.Account.FidoClient
23 /// Contains information about the authenticators registered on the device.
25 /// <since_tizen> 3 </since_tizen>
28 /// IEnumerable<AuthenticatorInformation> authInfos = await UafAuthenticatorFinder.DiscoverAuthenticatorsAsync();
29 /// foreach (AuthenticatorInformation authInfo in authInfos)
31 /// string aaid = authInfo.Aaid;
32 /// string title = authInfo.Title;
36 public class AuthenticatorInformation
38 internal AuthenticatorInformation()
43 /// The authenticator Title
45 /// <since_tizen> 3 </since_tizen>
46 public string Title { get; internal set; }
49 /// The Authenticator AAID (Authenticator Attestation ID)
51 /// <since_tizen> 3 </since_tizen>
52 public string Aaid { get; internal set; }
55 /// The Authenticator description
57 /// <since_tizen> 3 </since_tizen>
58 public string Description { get; internal set; }
61 /// The Authenticator assertion scheme.
63 /// <since_tizen> 3 </since_tizen>
64 public string AssertionScheme { get; internal set; }
67 /// The Authenticator algorithm.
69 /// <since_tizen> 3 </since_tizen>
70 public AuthenticationAlgorithm AuthenticationAlgorithm { get; internal set; }
73 /// The user verification method of this Authenticator
75 /// <since_tizen> 3 </since_tizen>
76 public UserVerificationMethod UserVerification { get; internal set; }
79 /// The key protection method of this Authenticator.
81 /// <since_tizen> 3 </since_tizen>
82 public KeyProtectionType KeyProtection { get; internal set; }
85 /// The matcher protection method of this Authenticator.
87 /// <since_tizen> 3 </since_tizen>
88 public MatcherProtectionType MatcherProtection { get; internal set; }
91 /// The attachment hint of this Authenticator.
93 /// <since_tizen> 3 </since_tizen>
94 public AuthenticatorAttachmentHint AttachmentHint { get; internal set; }
97 /// Denotes the Authenticator is Second factor only which is supported by U2F standards.
99 /// <since_tizen> 3 </since_tizen>
100 public bool IsSecondFactorOnly { get; internal set; }
103 /// The available attestation types for this Authenticator.
105 /// <since_tizen> 3 </since_tizen>
106 public IEnumerable<AuthenticatorAttestationType> AttestationTypes { get; internal set; }
109 /// The Transaction Confirmation display type of this Authenticator.
111 /// <since_tizen> 3 </since_tizen>
112 public TransactionConfirmationDisplayType TcDisplayType { get; internal set; }
115 /// The Transaction Confirmation display type of this Authenticator.
117 /// <since_tizen> 3 </since_tizen>
118 public string TcDisplayContentType { get; internal set; }
121 /// The icon of this Authenticator.
123 /// <since_tizen> 3 </since_tizen>
124 public string Icon { get; internal set; }