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.
27 /// IEnumerable<AuthenticatorInformation> authInfos = await UafAuthenticatorFinder.DiscoverAuthenticatorsAsync();
28 /// foreach (AuthenticatorInformation authInfo in authInfos)
30 /// string aaid = authInfo.Aaid;
31 /// string title = authInfo.Title;
35 public class AuthenticatorInformation
37 internal AuthenticatorInformation()
42 /// The authenticator Title
44 public string Title { get; internal set; }
47 /// The Authenticator AAID (Authenticator Attestation ID)
49 public string Aaid { get; internal set; }
52 /// The Authenticator description
54 public string Description { get; internal set; }
57 /// The Authenticator assertion scheme.
59 public string AssertionScheme { get; internal set; }
62 /// The Authenticator algorithm.
64 public AuthenticationAlgorithm AuthenticationAlgorithm { get; internal set; }
67 /// The user verification method of this Authenticator
69 public UserVerificationMethod UserVerification { get; internal set; }
72 /// The key protection method of this Authenticator.
74 public KeyProtectionType KeyProtection { get; internal set; }
77 /// The matcher protection method of this Authenticator.
79 public MatcherProtectionType MatcherProtection { get; internal set; }
82 /// The attachment hint of this Authenticator.
84 public AuthenticatorAttachmentHint AttachmentHint { get; internal set; }
87 /// Denotes the Authenticator is Second factor only which is supported by U2F standards.
89 public bool IsSecondFactorOnly { get; internal set; }
92 /// The available attestation types for this Authenticator.
94 public IEnumerable<AuthenticatorAttestationType> AttestationTypes { get; internal set; }
97 /// The Transaction Confirmation display type of this Authenticator.
99 public TransactionConfirmationDisplayType TcDisplayType { get; internal set; }
102 /// The Transaction Confirmation display type of this Authenticator.
104 public string TcDisplayContentType { get; internal set; }
107 /// The icon of this Authenticator.
109 public string Icon { get; internal set; }