Function: getAuthToken()
function getAuthToken(): Promise<string | undefined>;Defined in: next.ts:46
Gets the current auth token from Next.js cookies Useful when you need to pass the token to client components
Returns
Section titled “Returns”Promise<string | undefined>