internal static async Task <IdentityTokenRequest> Verify(string value, VerifiableIdentityType type) { var identityService = ServiceLocator.Services.Identity; var request = await identityService.Verify(value, type, new Dictionary <string, string>()).ConfigureAwait(false); return(new IdentityTokenRequest(request) { Identity = value, IdentityType = type }); }
public static async Task <IdentityTokenRequest> Verify(string value, VerifiableIdentityType type = VerifiableIdentityType.Email) { return(await IdentityTokenRequest.Verify(value, type).ConfigureAwait(false)); }