UNPKG

@analog-tools/auth

Version:

Authentication module for AnalogJS applications

8 lines (7 loc) 257 B
import { AuthRoute } from '../types/auth.types'; /** * Example of a route that checks if the user is authenticated * The authentication middleware will automatically handle token refresh if needed */ declare const route: AuthRoute; export default route;