SR
Click to open github profile
Composables

useCraftAuthToken

Learn how to use the useCraftAuthToken composable.


This composable returns the Bearer auth token defined in your nuxt.config.ts.

Usage

const authToken = useCraftAuthToken();

Type

function useCraftAuthToken(): string;

Copyright © 2025 Samuel Reichör