C# Class WindowsAzure.Acs.Oauth2.TwoLeggedAuthorizationServer

Two legged AuthorizationServer class.
Inheritance: AuthorizationServerBase
Datei anzeigen Open project: maartenba/WindowsAzure.Acs.Oauth2

Public Methods

Method Description
TwoLeggedAuthorizationServer ( ) : System.Configuration

Initializes a new instance of the TwoLeggedAuthorizationServer 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'.

TwoLeggedAuthorizationServer ( IApplicationRegistrationService applicationRegistrationService ) : System.Configuration

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

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

Initializes a new instance of the TwoLeggedAuthorizationServer class.

Protected Methods

Method Description
GetDelegatedIdentity ( ) : AuthorizationServerIdentity

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

Private Methods

Method Description
Index_Post ( AuthorizationServerViewModel model ) : System.Web.Mvc.ActionResult

Method Details

GetDelegatedIdentity() protected method

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

TwoLeggedAuthorizationServer() public method

Initializes a new instance of the TwoLeggedAuthorizationServer 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'.
public TwoLeggedAuthorizationServer ( ) : System.Configuration
return System.Configuration

TwoLeggedAuthorizationServer() public method

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

TwoLeggedAuthorizationServer() public method

Initializes a new instance of the TwoLeggedAuthorizationServer class.
public TwoLeggedAuthorizationServer ( string relyingPartyName, IApplicationRegistrationService applicationRegistrationService ) : System.Configuration
relyingPartyName string The relying party name.
applicationRegistrationService IApplicationRegistrationService
return System.Configuration