C# Class van.Web.Controllers.Infrastructure.OpenIdAuthenticationProvider

Inheritance: IAuthenticationProvider
显示文件 Open project: zachariahyoung/virtualaltnet

Public Methods

Method Description
IsAuthenticated ( ControllerContext context ) : bool
IsValidLogin ( Uri serviceUri ) : void
RedirectToLogin ( ControllerContext context ) : void
SetAuthCookie ( string userName, bool createPersistentCookie ) : void

Method Details

IsAuthenticated() public method

public IsAuthenticated ( ControllerContext context ) : bool
context ControllerContext
return bool

IsValidLogin() public method

public IsValidLogin ( Uri serviceUri ) : void
serviceUri System.Uri
return void

RedirectToLogin() public method

public RedirectToLogin ( ControllerContext context ) : void
context ControllerContext
return void

SetAuthCookie() public method

public SetAuthCookie ( string userName, bool createPersistentCookie ) : void
userName string
createPersistentCookie bool
return void