C# 클래스 WindowsAzure.Acs.Oauth2.AuthorizationServerBase

상속: Controller
파일 보기 프로젝트 열기: maartenba/WindowsAzure.Acs.Oauth2

공개 메소드들

메소드 설명
ParseIncomingRequest ( System.Web.HttpContextBase httpContext ) : OAuthMessage

This method parses the incoming request and creates an OAuth message from it.

StoreIncomingRequest ( System.Web.HttpContextBase httpContext ) : OAuthMessage

Stores the incoming request.

보호된 메소드들

메소드 설명
AuthorizationServerBase ( ) : System.Configuration

Initializes a new instance of the AuthorizationServerBase class. The parameters are read from the application configuration's appSettings keys 'WindowsAzure.OAuth.ServiceNamespace', 'WindowsAzure.OAuth.ServiceNamespaceManagementUserName', 'WindowsAzure.OAuth.ServiceNamespaceManagementUserKey' and 'WindowsAzure.OAuth.RelyingPartyName'.

AuthorizationServerBase ( IApplicationRegistrationService applicationRegistrationService ) : System.Configuration

Initializes a new instance of the AuthorizationServerBase class. The relying party name is read from the application configuration's appSettings key 'WindowsAzure.OAuth.RelyingPartyName'.

AuthorizationServerBase ( string relyingPartyName, IApplicationRegistrationService applicationRegistrationService ) : System.Configuration

Initializes a new instance of the AuthorizationServerBase class.

BuildModel ( OAuthMessage message ) : AuthorizationServerViewModel

Builds the model. Override this to add information about the application requesting user consent, such as publisher information or a logo URL.

GetDelegatedIdentity ( ) : AuthorizationServerIdentity

Gets the delegated identity. Override this if you require specifying the IdentityProvider for the delegated identity.

메소드 상세

AuthorizationServerBase() 보호된 메소드

Initializes a new instance of the AuthorizationServerBase class. The parameters are read from the application configuration's appSettings keys 'WindowsAzure.OAuth.ServiceNamespace', 'WindowsAzure.OAuth.ServiceNamespaceManagementUserName', 'WindowsAzure.OAuth.ServiceNamespaceManagementUserKey' and 'WindowsAzure.OAuth.RelyingPartyName'.
protected AuthorizationServerBase ( ) : System.Configuration
리턴 System.Configuration

AuthorizationServerBase() 보호된 메소드

Initializes a new instance of the AuthorizationServerBase class. The relying party name is read from the application configuration's appSettings key 'WindowsAzure.OAuth.RelyingPartyName'.
protected AuthorizationServerBase ( IApplicationRegistrationService applicationRegistrationService ) : System.Configuration
applicationRegistrationService IApplicationRegistrationService The application registration service.
리턴 System.Configuration

AuthorizationServerBase() 보호된 메소드

Initializes a new instance of the AuthorizationServerBase class.
protected AuthorizationServerBase ( string relyingPartyName, IApplicationRegistrationService applicationRegistrationService ) : System.Configuration
relyingPartyName string The relying party name.
applicationRegistrationService IApplicationRegistrationService
리턴 System.Configuration

BuildModel() 보호된 메소드

Builds the model. Override this to add information about the application requesting user consent, such as publisher information or a logo URL.
protected BuildModel ( OAuthMessage message ) : AuthorizationServerViewModel
message OAuthMessage The message.
리턴 AuthorizationServerViewModel

GetDelegatedIdentity() 보호된 추상적인 메소드

Gets the delegated identity. Override this if you require specifying the IdentityProvider for the delegated identity.
protected abstract GetDelegatedIdentity ( ) : AuthorizationServerIdentity
리턴 AuthorizationServerIdentity

ParseIncomingRequest() 공개 메소드

This method parses the incoming request and creates an OAuth message from it.
public ParseIncomingRequest ( System.Web.HttpContextBase httpContext ) : OAuthMessage
httpContext System.Web.HttpContextBase The current HttpContext.
리턴 OAuthMessage

StoreIncomingRequest() 공개 메소드

Stores the incoming request.
public StoreIncomingRequest ( System.Web.HttpContextBase httpContext ) : OAuthMessage
httpContext System.Web.HttpContextBase The HTTP context.
리턴 OAuthMessage