diana_auth 0.15.0
diana_auth: ^0.15.0 copied to clipboard
Authentication and authorization for the Diana backend framework: pluggable authenticator strategies (JWT, HTTP Basic, API key), Spring-style @Secured/@RolesAllowed guards and principal binding.
diana_auth #
Authentication and authorization for the Diana framework:
a chain of pluggable authentication strategies (JWT HS256/RS256 with JWKS,
HTTP Basic, API key), an injectable principal, and Spring-style
@Secured / @RolesAllowed guards that the generator wires into routes,
WebSocket handshakes and gRPC services at compile time.
dependencies:
diana: ^0.15.0
diana_auth: ^0.15.0
This is the only Diana package that depends on package:crypto; apps that
don't need security don't carry it.
Read the authentication & authorization guide.