ctx.auth (PluginAuthAccessor) gives read-only access to the current authentication state.
getToken() by hand — prefer ctx.airline.createClient(), which adds refresh-on-401 handling that ctx.auth does not.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Read-only authentication state from a background module.
ctx.auth (PluginAuthAccessor) gives read-only access to the current authentication state.
const isAuth = await ctx.auth.isAuthenticated();
const token = await ctx.auth.getToken(); // string | null
getToken() by hand — prefer ctx.airline.createClient(), which adds refresh-on-401 handling that ctx.auth does not.Was this page helpful?