UNPKG

landstrasse

Version:

Strongly typed WAMP Client for browsers

22 lines 666 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const AbstractAuthProvider_1 = require("./AbstractAuthProvider"); /** * Cookie authentication provider. * * Providing an instance of this class means that the client thinks that it is already * authenticated by the cookies it sent on the transport level. */ class CookieAuthProvider extends AbstractAuthProvider_1.default { get isTransportLevel() { return true; } /** * Creates a new instance of the cookie auth provider. */ constructor() { super('', 'cookie'); } } exports.default = CookieAuthProvider; //# sourceMappingURL=Cookie.js.map