Skip to main content
ctx.auth (PluginAuthAccessor) gives read-only access to the current authentication state.
When to use it: to check whether a pilot is signed in before doing work. For HTTP calls to the VA, don’t build requests from getToken() by hand — prefer ctx.airline.createClient(), which adds refresh-on-401 handling that ctx.auth does not.