C# Class WindowsAzure.Acs.Oauth2.ThreeLeggedAuthorizationServer

Inheritance: AuthorizationServerBase
显示文件 Open project: maartenba/WindowsAzure.Acs.Oauth2

Public Methods

Method Description
Index ( ) : System.Web.Mvc.ActionResult

Index action method. Override if needed but make sure you call StoreIncomingRequest in your code.

ThreeLeggedAuthorizationServer ( ) : System.Configuration

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

ThreeLeggedAuthorizationServer ( IApplicationRegistrationService applicationRegistrationService ) : System.Configuration

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

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

Initializes a new instance of the ThreeLeggedAuthorizationServer 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

Index() public method

Index action method. Override if needed but make sure you call StoreIncomingRequest in your code.
public Index ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

ThreeLeggedAuthorizationServer() public method

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

ThreeLeggedAuthorizationServer() public method

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

ThreeLeggedAuthorizationServer() public method

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