C# Класс WindowsAzure.Acs.Oauth2.AuthorizationServerBase

Наследование: Controller
Показать файл Открыть проект

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

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