-
-
Notifications
You must be signed in to change notification settings - Fork 185
/
Copy pathIMetadataService.cs
36 lines (35 loc) · 1.32 KB
/
IMetadataService.cs
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
using System;
using System.Threading.Tasks;
namespace Fido2NetLib
{
/// <summary>
/// The FIDO2 metadata service.
/// </summary>
public interface IMetadataService
{
/// <summary>
/// Gets the metadata TOC (table-of-content) payload entry by a guid.
/// </summary>
/// <param name="aaguid">The Authenticator Attestation GUID.</param>
/// <returns>Returns the entry; Otherwise <c>null</c>.</returns>
MetadataTOCPayloadEntry GetEntry(Guid aaguid);
/// <summary>
/// Gets a value indicating whether the internal access token is valid.
/// </summary>
/// <returns>
/// Returns <c>true</c> if access token is valid, or <c>false</c> if the access token is equal to an invalid token value.
/// </returns>
bool ConformanceTesting();
/// <summary>
/// Gets a value indicating whether the metadata service is initialized.
/// </summary>
/// <returns>
/// Returns <c>true</c> if the metadata service is initialized, or <c>false</c> if the metadata service is not initialized.
/// </returns>
bool IsInitialized();
/// <summary>
/// Initializes the metadata service.
/// </summary>
Task Initialize();
}
}