Versions in this module
v0
Aug 24, 2026
Aug 23, 2026
Changes in this version
Aug 22, 2026
Aug 22, 2026
Aug 22, 2026
Aug 11, 2026
Aug 11, 2026
Aug 11, 2026
Aug 11, 2026
Aug 10, 2026
Aug 9, 2026
Jul 31, 2026
Changes in this version
type IdentityStore
type OAuthUserInfo
type User
Jul 22, 2026
Changes in this version
Jul 20, 2026
Changes in this version
type SecurityEvent
type User
Aug 11, 2026
Jul 18, 2026
Jul 14, 2026
Jul 14, 2026
Jul 14, 2026
Changes in this version
type SecurityEventType
Jul 14, 2026
Changes in this version
type Config
type Permission
type ProfileDTO
type Role
type SecurityEventType
type User
Jul 13, 2026
Changes in this version
type Config
type Identity
type LANIP
type LoginData
type OAuthState
type PasswordData
type Permission
type ProfileDTO
type ProfileData
type RegisterData
type Role
type RolePermission
type Session
type User
type UserRole
Jul 6, 2026
Jul 6, 2026
Changes in this version
type Identity
type LANIP
type RolePermission
type Session
type UserRole
Jun 27, 2026
Changes in this version
type Identity
type LANIP
type LoginData
type OAuthState
type PasswordData
type Permission
type ProfileData
type RegisterData
type Role
type RolePermission
type Session
type User
type UserRole
Mar 15, 2026
Changes in this version
type Identity
type LANIP
type OAuthState
type PasswordData
type Permission
type ProfileData
type RegisterData
type Role
type RolePermission
type Session
type User
type UserRole
Mar 10, 2026
Mar 10, 2026
Mar 10, 2026
Mar 7, 2026
Changes in this version
type AuthMode
type Module
—
darwin/amd64, linux/amd64, windows/amd64
Mar 7, 2026
Mar 7, 2026
Changes in this version
type Module
—
darwin/amd64, linux/amd64, windows/amd64
Mar 5, 2026
Mar 5, 2026
Mar 5, 2026
Changes in this version
Mar 5, 2026
Mar 5, 2026
Changes in this version
+
func GenerateJWT(secret []byte, userID string, ttl int) (string, error)
—
darwin/amd64, linux/amd64, windows/amd64
+
func ValidateJWT(secret []byte, token string) (string, error)
—
darwin/amd64, linux/amd64, windows/amd64
Mar 5, 2026
Mar 5, 2026
Changes in this version
Mar 4, 2026
Mar 4, 2026
Mar 3, 2026
Mar 2, 2026
Mar 2, 2026
Mar 2, 2026
Mar 2, 2026
Mar 2, 2026
Mar 2, 2026
Changes in this version
+
func AssignPermission(roleID, permissionID string) error
—
darwin/amd64, linux/amd64, windows/amd64
+
func CreatePermission(id, name, resource string, action string) error
—
darwin/amd64, linux/amd64, windows/amd64
+
func CreateRole(id string, code string, name, description string) error
—
darwin/amd64, linux/amd64, windows/amd64
+
func HasPermission(userID, resource string, action byte) (bool, error)
—
darwin/amd64, linux/amd64, windows/amd64
type Identity
type Session
type User
Feb 28, 2026
Feb 21, 2026
Feb 20, 2026
Changes in this version
Feb 20, 2026
Changes in this version
+
func CreateIdentity(userID, provider, providerID, email string) error
—
darwin/amd64, linux/amd64, windows/amd64
type User