C# 클래스 OAuth2.AuthorizationRoot

파일 보기 프로젝트 열기: titarenko/OAuth2 1 사용 예제들

공개 메소드들

메소드 설명
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