C# Class Glipho.OAuth.Providers.Database.Mongo.IssuedToken

ファイルを表示 Open project: Glipho/oauth-providers Class Usage Examples

Private Properties

Property Type Description
FromIssuedToken IssuedToken
GetUpdateStatement IMongoUpdate
ToToken Database.IssuedToken

Public Methods

Method Description
Equals ( IssuedToken token ) : bool

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

Equals ( object obj ) : bool

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

GetHashCode ( ) : int

Serves as a hash function for a IssuedToken.

ToString ( ) : string

Returns a System.String that represents the current IssuedToken.

Protected Methods

Method Description
IssuedToken ( ) : System

Initialises a new instance of the IssuedToken class.

Private Methods

Method Description
FromIssuedToken ( Database issuedToken, ConsumerStub consumer ) : IssuedToken

Create a new token from a database token.

GetUpdateStatement ( ) : IMongoUpdate

Get the update statement for the token.

ToToken ( ) : Database.IssuedToken

Convert this token into a database token.

Method Details

Equals() public method

Determines whether the specified IssuedToken is equal to the current IssuedToken.
public Equals ( IssuedToken token ) : bool
token IssuedToken The to compare with the current .
return bool

Equals() public method

Determines whether the specified System.Object is equal to the current IssuedToken.
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 IssuedToken.
public GetHashCode ( ) : int
return int

IssuedToken() protected method

Initialises a new instance of the IssuedToken class.
protected IssuedToken ( ) : System
return System

ToString() public method

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