C# Class OAuth2.AuthorizationRoot

Afficher le fichier Open project: titarenko/OAuth2 Class Usage Examples

Méthodes publiques

Méthode Description
AuthorizationRoot ( ) : System

Initializes a new instance of the AuthorizationRoot class.

Since this is boundary class, we decided to create parameterless constructor where default implementations of dependencies are used. So, despite we encourage you to employ IoC pattern, you are still able to just create instance of manager manually and then use it in your project.

AuthorizationRoot ( IConfigurationManager configurationManager, string configurationSectionName, IRequestFactory requestFactory ) : System

Initializes a new instance of the AuthorizationRoot class.

Méthodes protégées

Méthode Description
GetClientTypes ( ) : IEnumerable

Returns collection of client types to consider

Method Details

AuthorizationRoot() public méthode

Initializes a new instance of the AuthorizationRoot class.
Since this is boundary class, we decided to create parameterless constructor where default implementations of dependencies are used. So, despite we encourage you to employ IoC pattern, you are still able to just create instance of manager manually and then use it in your project.
public AuthorizationRoot ( ) : System
Résultat System

AuthorizationRoot() public méthode

Initializes a new instance of the AuthorizationRoot class.
public AuthorizationRoot ( IConfigurationManager configurationManager, string configurationSectionName, IRequestFactory requestFactory ) : System
configurationManager IConfigurationManager The configuration manager.
configurationSectionName string Name of the configuration section.
requestFactory IRequestFactory The request factory.
Résultat System

GetClientTypes() protected méthode

Returns collection of client types to consider
protected GetClientTypes ( ) : IEnumerable
Résultat IEnumerable