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

Afficher le fichier Open project: Glipho/oauth-providers Class Usage Examples

Private Properties

Свойство Type Description
FromIssuedToken IssuedToken
GetUpdateStatement IMongoUpdate
ToToken Database.IssuedToken

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
IssuedToken ( ) : System

Initialises a new instance of the IssuedToken class.

Private Methods

Méthode 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 méthode

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

Equals() public méthode

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 .
Résultat bool

GetHashCode() public méthode

Serves as a hash function for a IssuedToken.
public GetHashCode ( ) : int
Résultat int

IssuedToken() protected méthode

Initialises a new instance of the IssuedToken class.
protected IssuedToken ( ) : System
Résultat System

ToString() public méthode

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