public GrandIdBankIdAuthenticationHandler( IOptionsMonitor <GrandIdBankIdAuthenticationOptions> options, ILoggerFactory loggerFactory, UrlEncoder encoder, ISystemClock clock, ILogger <GrandIdBankIdAuthenticationHandler> logger, IGrandIdApiClient grandIdApiClient ) : base(options, loggerFactory, encoder, clock) { _logger = logger; _grandIdApiClient = grandIdApiClient; }
public static Task <LogoutResponse> LogoutAsync(this IGrandIdApiClient apiClient, string sessionId) { return(apiClient.LogoutAsync(new LogoutRequest(sessionId))); }
public static Task <BankIdGetSessionResponse> BankIdGetSessionAsync(this IGrandIdApiClient apiClient, string sessionId) { return(apiClient.BankIdGetSessionAsync(new BankIdGetSessionRequest(sessionId))); }
public static Task <BankIdFederatedLoginResponse> BankIdFederatedLoginAsync(this IGrandIdApiClient apiClient, string?callbackUrl = null, bool?useChooseDevice = null, bool?useSameDevice = null, bool?askForPersonalIdentityNumber = null, string?personalIdentityNumber = null, bool?requireMobileBankId = null, string?customerUrl = null, bool?showGui = null, string?signUserVisibleData = null, string?signUserNonVisibleData = null) { return(apiClient.BankIdFederatedLoginAsync(new BankIdFederatedLoginRequest(callbackUrl, useChooseDevice, useSameDevice, askForPersonalIdentityNumber, personalIdentityNumber, requireMobileBankId, customerUrl, showGui, signUserVisibleData, signUserNonVisibleData))); }