2 using System.Collections.Generic;
3 using System.Collections.Immutable;
4 using System.Threading.Tasks;
11 public abstract Task<AccountInfo>
VerifyTicket(AuthenticationTicket ticket);
14 public static ImmutableDictionary<AuthenticationTicketKind, Authenticator>
GetAuthenticatorsForHost(Option<Endpoint> ownerEndpointOption)
16 var authenticators =
new Dictionary<AuthenticationTicketKind, Authenticator>();
18 if (EosInterface.Core.IsInitialized)
23 if (ownerEndpointOption.TryUnwrap(out var ownerEndpoint) && ownerEndpoint is
EosP2PEndpoint)
30 if (!(ownerEndpointOption.TryUnwrap(out var ownerEndpoint2) && ownerEndpoint2 is
EosP2PEndpoint) && SteamManager.IsInitialized)
36 return authenticators.ToImmutableDictionary();
abstract Task< AccountInfo > VerifyTicket(AuthenticationTicket ticket)
abstract void EndAuthSession(AccountId accountId)
static ImmutableDictionary< AuthenticationTicketKind, Authenticator > GetAuthenticatorsForHost(Option< Endpoint > ownerEndpointOption)