Exemple #1
0
        public override int GetHashCode()
        {
            int hash = 1;

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

            return(PostAuthenticationRequest(urlPath, request));
        }