payload-authjs
Version:
A Payload CMS 3 plugin for Auth.js 5
10 lines (9 loc) • 455 B
TypeScript
import type { Endpoint } from "payload";
/**
* Override the default refresh endpoint to refresh the authjs session cookie
*
* @see https://payloadcms.com/docs/authentication/operations#refresh
* @see https://github.com/payloadcms/payload/blob/main/packages/payload/src/auth/endpoints/refresh.ts
* @see https://github.com/payloadcms/payload/blob/main/packages/payload/src/auth/operations/refresh.ts
*/
export declare const refreshEndpoint: Endpoint;