C# Класс OAuth2.AuthorizationRoot

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
GetClientTypes ( ) : IEnumerable

Returns collection of client types to consider

Описание методов

AuthorizationRoot() публичный Метод

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
Результат System

AuthorizationRoot() публичный Метод

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.
Результат System

GetClientTypes() защищенный Метод

Returns collection of client types to consider
protected GetClientTypes ( ) : IEnumerable
Результат IEnumerable