public override int GetHashCode() { int hash = 1; if (NationalIdentity.Length != 0) { hash ^= NationalIdentity.GetHashCode(); } if (Name.Length != 0) { hash ^= Name.GetHashCode(); } return(hash); }
public AuthenticationSessionResponse Authenticate(NationalIdentity identity, AuthenticationSessionRequest request) { var urlPath = string.Format(AuthenticateByNationalIdPath, identity.CountryCode, identity.NationalIdentityNumber); return(PostAuthenticationRequest(urlPath, request)); }