C# Класс AppHarbor.Web.Security.CookieAuthenticator

Наследование: IAuthenticator
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CookieAuthenticator ( ) : System
CookieAuthenticator ( ICookieAuthenticationConfiguration configuration, System.Web.HttpContextBase context ) : System
GetTagData ( ) : byte[]
SetCookie ( string username, bool persistent = false, string roles = null, byte tag = null, System.DateTime explicitExpiry = null ) : void
SignOut ( ) : void

Приватные методы

Метод Описание
SetExpireTimeTrackingCookie ( System.DateTime expireDateTime ) : void

Описание методов

CookieAuthenticator() публичный метод

public CookieAuthenticator ( ) : System
Результат System

CookieAuthenticator() публичный метод

public CookieAuthenticator ( ICookieAuthenticationConfiguration configuration, System.Web.HttpContextBase context ) : System
configuration ICookieAuthenticationConfiguration
context System.Web.HttpContextBase
Результат System

GetTagData() публичный метод

public GetTagData ( ) : byte[]
Результат byte[]

SetCookie() публичный метод

public SetCookie ( string username, bool persistent = false, string roles = null, byte tag = null, System.DateTime explicitExpiry = null ) : void
username string
persistent bool
roles string
tag byte
explicitExpiry System.DateTime
Результат void

SignOut() публичный метод

public SignOut ( ) : void
Результат void