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