C# Class SimpleAuthentication.Mvc.SimpleAuthenticationController

Inheritance: Controller
Afficher le fichier Open project: SimpleAuthentication/SimpleAuthentication

Private Properties

Свойство Type Description
DetermineReturnUrl string
GenerateCallbackUri System.Uri
GetAuthenticationProvider IAuthenticationProvider

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
OnActionExecuting ( System.Web.Mvc.ActionExecutingContext filterContext ) : void

Private Methods

Méthode Description
DetermineReturnUrl ( string returnUrl ) : string
GenerateCallbackUri ( string providerName, Uri basePath ) : Uri
GetAuthenticationProvider ( string providerKey ) : IAuthenticationProvider

Method Details

AuthenticateCallback() public méthode

public AuthenticateCallback ( SimpleAuthentication.Mvc.AuthenticateCallBackInputModel inputModel ) : System.Web.Mvc.ActionResult
inputModel SimpleAuthentication.Mvc.AuthenticateCallBackInputModel
Résultat System.Web.Mvc.ActionResult

OnActionExecuting() protected méthode

protected OnActionExecuting ( System.Web.Mvc.ActionExecutingContext filterContext ) : void
filterContext System.Web.Mvc.ActionExecutingContext
Résultat void

RedirectToProvider() public méthode

public RedirectToProvider ( SimpleAuthentication.Mvc.RedirectToProviderInputModel inputModel ) : System.Web.Mvc.RedirectResult
inputModel SimpleAuthentication.Mvc.RedirectToProviderInputModel
Résultat System.Web.Mvc.RedirectResult

SimpleAuthenticationController() public méthode

public SimpleAuthenticationController ( ) : System
Résultat System

SimpleAuthenticationController() public méthode

public SimpleAuthenticationController ( IAuthenticationCallbackProvider callbackProvider, ICache cache ) : System
callbackProvider IAuthenticationCallbackProvider
cache ICache
Résultat System

SimpleAuthenticationController() public méthode

public SimpleAuthenticationController ( IAuthenticationCallbackProvider callbackProvider, ICache cache, IConfigurationOptions configurationOptions ) : System
callbackProvider IAuthenticationCallbackProvider
cache ICache
configurationOptions IConfigurationOptions
Résultat System

SimpleAuthenticationController() public méthode

public SimpleAuthenticationController ( IAuthenticationCallbackProvider callbackProvider, IConfigurationOptions configurationOptions ) : System
callbackProvider IAuthenticationCallbackProvider
configurationOptions IConfigurationOptions
Résultat System