UNPKG

@microsoft/windows-admin-center-sdk

Version:

Microsoft - Windows Admin Center Shell

26 lines (25 loc) 626 B
/** * Cookie class. */ export declare class Cookie { /** * Gets cookie by name. */ static get(cookieName: string): string; /** * "clears" cookie by name. Setting its expiration date to "Thu, 01 Jan 1970 00:00:00 GMT" */ static clear(cookieName: string): void; /** * Gets the cross site request forgery token. */ static getCrossSiteRequestForgeryToken(): string; /** * Gets the gateway identity token. */ static getGatewayIdentityToken(): string; /** * Clears the gateway identity token. */ static clearGatewayIdentityToken(): void; }