/* * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved * * Licensed under the Apache License, Version 2.0 (the License); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an AS IS BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ using System; using System.Collections.Generic; namespace Tizen.Account.FidoClient { /// /// Contains information about the authenticators registered on the device. /// /// 3 /// /// /// IEnumerable<AuthenticatorInformation> authInfos = await UafAuthenticatorFinder.DiscoverAuthenticatorsAsync(); /// foreach (AuthenticatorInformation authInfo in authInfos) /// { /// string aaid = authInfo.Aaid; /// string title = authInfo.Title; /// } /// /// public class AuthenticatorInformation { internal AuthenticatorInformation() { } /// /// The authenticator Title /// /// 3 public string Title { get; internal set; } /// /// The Authenticator AAID (Authenticator Attestation ID) /// /// 3 public string Aaid { get; internal set; } /// /// The Authenticator description /// /// 3 public string Description { get; internal set; } /// /// The Authenticator assertion scheme. /// /// 3 public string AssertionScheme { get; internal set; } /// /// The Authenticator algorithm. /// /// 3 public AuthenticationAlgorithm AuthenticationAlgorithm { get; internal set; } /// /// The user verification method of this Authenticator /// /// 3 public UserVerificationMethod UserVerification { get; internal set; } /// /// The key protection method of this Authenticator. /// /// 3 public KeyProtectionType KeyProtection { get; internal set; } /// /// The matcher protection method of this Authenticator. /// /// 3 public MatcherProtectionType MatcherProtection { get; internal set; } /// /// The attachment hint of this Authenticator. /// /// 3 public AuthenticatorAttachmentHint AttachmentHint { get; internal set; } /// /// Denotes the Authenticator is Second factor only which is supported by U2F standards. /// /// 3 public bool IsSecondFactorOnly { get; internal set; } /// /// The available attestation types for this Authenticator. /// /// 3 public IEnumerable AttestationTypes { get; internal set; } /// /// The Transaction Confirmation display type of this Authenticator. /// /// 3 public TransactionConfirmationDisplayType TcDisplayType { get; internal set; } /// /// The Transaction Confirmation display type of this Authenticator. /// /// 3 public string TcDisplayContentType { get; internal set; } /// /// The icon of this Authenticator. /// /// 3 public string Icon { get; internal set; } } }