UNPKG

landstrasse

Version:

Strongly typed WAMP Client for browsers

20 lines 569 B
import AbstractAuthProvider from './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 { get isTransportLevel() { return true; } /** * Creates a new instance of the cookie auth provider. */ constructor() { super('', 'cookie'); } } export default CookieAuthProvider; //# sourceMappingURL=Cookie.js.map