public RouteCookie(AppFunc next, string cookieName, string inRouteParam, string outRouteParam) { this.converter = new CookieConverter(next, cookieName, Inbound, Outbound); this._cookieName = cookieName; this.inRouteParam = inRouteParam; this.outRouteParam = outRouteParam; }
private SessionCookie(AppFunc next, string passphrase, Action<IOwinRequest, string> inbound, Func<IOwinResponse, string> outbound) { this.converter = new CookieConverter(next, cookieName, inbound, outbound); this.passphrase = passphraseToBytes(passphrase); }
public SessionCookie(AppFunc next, string environmentKey, string passphrase) { this.converter = new CookieConverter(next, cookieName, this.injectSessionToRequest, this.extractSessionFromResponse); this.passphrase = passphraseToBytes(passphrase); this.environmentKey = environmentKey; }