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

            return(PostAuthenticationRequest(urlPath, request));
        }