also looking at this
chore: wip stx improvements
#1649
241 files
+19022
-1323
| @@ -0,0 +1,8 @@ | ||
| 1 | export type { AuthConfig, OAuthProviderConfig, Permission, Session, User } from './types' | |
| 2 | export { createSession, destroySession, getSession, isSessionValid } from './session' | |
| 3 | export { hashPassword, verifyPassword } from './password' | |
| 4 | export { getUser, login, logout, register } from './auth' | |
| 5 | export { can, definePermissions } from './permissions' | |
| 6 | export { authMiddleware, guestMiddleware } from './middleware' | |
| 7 | export type { MiddlewareResult } from './middleware' | |
| 8 | export { handleOAuthCallback, oauthRedirectUrl } from './oauth' | |