Expand description
Authentication and authorization traits for the rust-webx framework.
Provides:
IClaims: Extracted auth claims (JWT or other token types).IAuthenticationHandler: Authenticate an HTTP request and produce claims.IAuthorizationPolicy: Check if authenticated claims can access a resource.
Traits§
- IAuthentication
Handler - Authentication scheme interface.
- IAuthorization
Policy - Authorization policy that checks whether an authenticated user can access a given resource.
- IClaims
- Claims extracted from an authentication token (JWT, etc.).
- IDynamic
Authorizer - Dynamic authorizer interface — pluggable authorization for protected routes.