Skip to content

Latest commit

 

History

71 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Semitexa Auth

User authentication with credential flows, sessions, and pluggable auth handlers.

Purpose

Manages request-level authentication. Discovers auth handlers via #[AsAuthHandler], chains them per strategy (first_match, collect, required), and stores the authenticated principal in coroutine-safe context.

Role in Semitexa

Depends on semitexa/core. Depended on by semitexa/authorization, semitexa/api, and platform packages. Auth resolves identity; access control decisions are delegated to downstream packages.

Key Features

  • #[AsAuthHandler] attribute for automatic handler discovery
  • Strategy-based handler chaining: first_match, collect, required
  • AuthBootstrapper orchestrating per-request authentication
  • Coroutine-safe AuthContextStore for Swoole environments
  • SessionAuthHandler as the default implementation
  • AuthenticatableInterface contract for principal types

Notes

Auth resolves identity only. Access control decisions are handled by semitexa/authorization.

About

Semitexa Auth - user authentication with credential flows, sessions, and access tokens

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages