SR
Click to open github profile
Functions

getCraftAuthToken

Learn how to use the getCraftAuthToken function.


This function returns the Bearer auth token defined in your /libs/query-api.ts.

Usage

const authToken = getCraftAuthToken();

Type

function getCraftAuthToken(): string;

Copyright © 2025 Samuel Reichör