C# Class Owin.ServiceStack.OwinCookiesAdapter

A concret implementation of ICookies which adapts the OWIN cookies store to the Service Stack
Inheritance: ICookies
Mostra file Open project: thedillonb/Owin.ServiceStack

Public Methods

Method Description
AddCookie ( Cookie cookie ) : void
AddPermanentCookie ( string cookieName, string cookieValue, bool secureOnly = default(bool?) ) : void
AddSessionCookie ( string cookieName, string cookieValue, bool secureOnly = default(bool?) ) : void
DeleteCookie ( string cookieName ) : void
OwinCookiesAdapter ( IOwinResponse response ) : ServiceStack.ServiceHost

Method Details

AddCookie() public method

public AddCookie ( Cookie cookie ) : void
cookie System.Net.Cookie
return void

AddPermanentCookie() public method

public AddPermanentCookie ( string cookieName, string cookieValue, bool secureOnly = default(bool?) ) : void
cookieName string
cookieValue string
secureOnly bool
return void

AddSessionCookie() public method

public AddSessionCookie ( string cookieName, string cookieValue, bool secureOnly = default(bool?) ) : void
cookieName string
cookieValue string
secureOnly bool
return void

DeleteCookie() public method

public DeleteCookie ( string cookieName ) : void
cookieName string
return void

OwinCookiesAdapter() public method

public OwinCookiesAdapter ( IOwinResponse response ) : ServiceStack.ServiceHost
response IOwinResponse
return ServiceStack.ServiceHost