Skip to content

API Reference

Complete API reference for Nuxt Aegis.

Client-Side API

Composables

Server-Side API

HTTP Endpoints

Server Utilities

Event Handlers

Type Definitions

Quick Reference

Authentication Flow

Common Operations

OperationClient APIServer API
Check authconst { isAuthenticated } = useAuth()await getAuthUser(event)
Get userconst { user } = useAuth()await requireAuth(event)
Loginawait login('google')N/A
Logoutawait logout()N/A
Refreshawait refresh()N/A

Released under the MIT License.