@crossauth/fastify 1.1.8 → 1.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -289,7 +289,7 @@ export declare class FastifyServer {
289
289
  * Starts the Fastify app on the given port.
290
290
  * @param port the port to listen on
291
291
  */
292
- start(port?: number): void;
292
+ start(port?: number, hostname?: string): void;
293
293
  /**
294
294
  * Returns a hash of the session ID. Used for logging (for security,
295
295
  * the actual session ID is not logged)
@@ -682,6 +682,12 @@ export declare class FastifySessionServer implements FastifySessionAdapter {
682
682
  * @returns the CSRF token cookie value
683
683
  */
684
684
  getCsrfCookieValue(request: FastifyRequest): string | undefined;
685
+ /**
686
+ * Returns the known device cookie value from the request
687
+ * @param request the Fastify request
688
+ * @returns the CSRF token cookie value
689
+ */
690
+ getKnownDeviceCookieValue(request: FastifyRequest): string | undefined;
685
691
  /**
686
692
  * Returns a hash of the session ID. Used for logging (for security,
687
693
  * the actual session ID is not logged)