# `createClient().auth`

This folder is the namespace docs tree for Athena Auth SDK bindings.

All routes are relative to `AuthConfig.base_path`.

## Route + Method Reference

- [All auth/admin routes grouped by HTTP method](./routes/README.md)

## Runtime Behavior

- [Auth runtime behavior, admin auth, roles, CORS, and trace ids](./runtime-behavior.md)
- [Shared session cookies for direct auth on sibling subdomains](./shared-session-cookies.md)

## Child namespaces

- [`session`](./session/README.md)
- [`user`](./user/README.md)
- [`organization`](./organization/README.md)
- [`sign-in`](./sign-in/README.md)
- [`api-key`](./api-key/README.md)
- [`admin`](./admin/README.md)
- [`callback`](./callback/README.md)
- [`passkey`](./passkey/README.md)
- [`two-factor`](./two-factor/README.md)

## Root-level bindings

```ts
createClient().auth.getSession() -> /get-session
createClient().auth.signOut() -> /sign-out
createClient().auth.forgetPassword() -> /forget-password
createClient().auth.resetPassword() -> /reset-password
createClient().auth.setPassword() -> /set-password
createClient().auth.resetPassword.token() -> /reset-password/{token}
createClient().auth.verifyEmail() -> /verify-email
createClient().auth.sendVerificationEmail() -> /send-verification-email
createClient().auth.changeEmail() -> /change-email
createClient().auth.changeEmailVerify() -> /change-email/verify
createClient().auth.deleteUserVerify() -> /delete-user/verify
createClient().auth.changePassword() -> /change-password
createClient().auth.social.link() -> /link-social
createClient().auth.account.list() -> /list-accounts
createClient().auth.deleteUser.callback() -> /delete-user/callback
createClient().auth.account.unlink() -> /unlink-account
createClient().auth.refreshToken() -> /refresh-token
createClient().auth.getAccessToken() -> /get-access-token
createClient().auth.ok() -> /ok
createClient().auth.error() -> /error
createClient().auth.health() -> /health
```

For the full binding matrix, see [`sdk-api-bindings.md`](../../sdk-api-bindings.md).
