C# Class SimpleAuthentication.Mvc.SimpleAuthenticationController

Inheritance: Controller
Mostra file Open project: SimpleAuthentication/SimpleAuthentication

Private Properties

Property Type Description
DetermineReturnUrl string
GenerateCallbackUri System.Uri
GetAuthenticationProvider IAuthenticationProvider

Public Methods

Method Description
AuthenticateCallback ( SimpleAuthentication.Mvc.AuthenticateCallBackInputModel inputModel ) : System.Web.Mvc.ActionResult
RedirectToProvider ( SimpleAuthentication.Mvc.RedirectToProviderInputModel inputModel ) : System.Web.Mvc.RedirectResult
SimpleAuthenticationController ( ) : System
SimpleAuthenticationController ( IAuthenticationCallbackProvider callbackProvider, ICache cache ) : System
SimpleAuthenticationController ( IAuthenticationCallbackProvider callbackProvider, ICache cache, IConfigurationOptions configurationOptions ) : System
SimpleAuthenticationController ( IAuthenticationCallbackProvider callbackProvider, IConfigurationOptions configurationOptions ) : System

Protected Methods

Method Description
OnActionExecuting ( System.Web.Mvc.ActionExecutingContext filterContext ) : void

Private Methods

Method Description
DetermineReturnUrl ( string returnUrl ) : string
GenerateCallbackUri ( string providerName, Uri basePath ) : Uri
GetAuthenticationProvider ( string providerKey ) : IAuthenticationProvider

Method Details

AuthenticateCallback() public method

public AuthenticateCallback ( SimpleAuthentication.Mvc.AuthenticateCallBackInputModel inputModel ) : System.Web.Mvc.ActionResult
inputModel SimpleAuthentication.Mvc.AuthenticateCallBackInputModel
return System.Web.Mvc.ActionResult

OnActionExecuting() protected method

protected OnActionExecuting ( System.Web.Mvc.ActionExecutingContext filterContext ) : void
filterContext System.Web.Mvc.ActionExecutingContext
return void

RedirectToProvider() public method

public RedirectToProvider ( SimpleAuthentication.Mvc.RedirectToProviderInputModel inputModel ) : System.Web.Mvc.RedirectResult
inputModel SimpleAuthentication.Mvc.RedirectToProviderInputModel
return System.Web.Mvc.RedirectResult

SimpleAuthenticationController() public method

public SimpleAuthenticationController ( ) : System
return System

SimpleAuthenticationController() public method

public SimpleAuthenticationController ( IAuthenticationCallbackProvider callbackProvider, ICache cache ) : System
callbackProvider IAuthenticationCallbackProvider
cache ICache
return System

SimpleAuthenticationController() public method

public SimpleAuthenticationController ( IAuthenticationCallbackProvider callbackProvider, ICache cache, IConfigurationOptions configurationOptions ) : System
callbackProvider IAuthenticationCallbackProvider
cache ICache
configurationOptions IConfigurationOptions
return System

SimpleAuthenticationController() public method

public SimpleAuthenticationController ( IAuthenticationCallbackProvider callbackProvider, IConfigurationOptions configurationOptions ) : System
callbackProvider IAuthenticationCallbackProvider
configurationOptions IConfigurationOptions
return System