Glipho.OAuth.Providers.Database.Nonce.Equals C# (CSharp) Method

Equals() public method

Determines whether the specified Nonce is equal to the current Nonce.
public Equals ( Nonce nonce ) : bool
nonce Nonce The to compare with the current .
return bool
        public bool Equals(Nonce nonce)
        {
            if (nonce == null)
            {
                return false;
            }

            return this.Context == nonce.Context
                && this.Code == nonce.Code
                && this.Id == nonce.Id
                && this.Issued == nonce.Issued
                && this.Expires == nonce.Expires;
        }

Same methods

Nonce::Equals ( object obj ) : bool