protected AuthenticationSessionResponse PostAuthenticationRequest(string url, AuthenticationSessionRequest request) { try { return(PostRequest <AuthenticationSessionResponse, AuthenticationSessionRequest>(url, request)); } catch (Exception) { throw; } }
public AuthenticationSessionResponse Authenticate(NationalIdentity identity, AuthenticationSessionRequest request) { var urlPath = string.Format(AuthenticateByNationalIdPath, identity.CountryCode, identity.NationalIdentityNumber); return(PostAuthenticationRequest(urlPath, request)); }