C# Class Glipho.OAuth.Providers.Database.Nonce

显示文件 Open project: Glipho/oauth-providers Class Usage Examples

Public Methods

Method Description
Equals ( Nonce nonce ) : bool

Determines whether the specified Nonce is equal to the current Nonce.

Equals ( object obj ) : bool

Determines whether the specified System.Object is equal to the current Nonce.

GetHashCode ( ) : int

Serves as a hash function for a Nonce.

Nonce ( ) : System

Initialises a new instance of the Nonce class.

Nonce ( string context, string code, System.DateTime issued, System.DateTime expires ) : System

Initialises a new instance of the Nonce class.

ToString ( ) : string

Returns a System.String that represents the current Nonce.

Method Details

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

Equals() public method

Determines whether the specified System.Object is equal to the current Nonce.
public Equals ( object obj ) : bool
obj object The to compare with the current .
return bool

GetHashCode() public method

Serves as a hash function for a Nonce.
public GetHashCode ( ) : int
return int

Nonce() public method

Initialises a new instance of the Nonce class.
public Nonce ( ) : System
return System

Nonce() public method

Initialises a new instance of the Nonce class.
public Nonce ( string context, string code, System.DateTime issued, System.DateTime expires ) : System
context string The context.
code string The code.
issued System.DateTime The issued.
expires System.DateTime The expires.
return System

ToString() public method

Returns a System.String that represents the current Nonce.
public ToString ( ) : string
return string