aep-axum
aep-axum provides direct Axum integration for an aep-service Service. It mounts the AEP
discovery and lifecycle routes and provides an extractor for authenticated application resources.
Install
[]
= "0.2"
= "0.2"
= "0.8"
= "2.5"
Mount AEP and protect application routes
use Arc;
use ;
use Service;
use ;
use Url;
#
The command router honors the Service's configured endpoint_base. Apply the authentication layer
only to protected application routes. Successful authentication makes AepPrincipal available to
the handler; rejected authentication returns the complete AEP challenge without running it.
See aep-service-axum for a runnable server with every AEP
command, an API-key Grant Type, and a protected application resource.
The underlying aep-service and aep-tower crates remain independently usable. See the
workspace guide and the
AEP specifications.