Skip to main content

diana_auth 0.15.1 copy "diana_auth: ^0.15.1" to clipboard
diana_auth: ^0.15.1 copied to clipboard

Authentication and authorization for the Diana framework: pluggable JWT, Basic and API-key strategies plus @Secured/@RolesAllowed route guards.

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.1
  diana_auth: ^0.15.1

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.

0
likes
160
points
154
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

Authentication and authorization for the Diana framework: pluggable JWT, Basic and API-key strategies plus @Secured/@RolesAllowed route guards.

Repository (GitHub)
View/report issues

Topics

#authentication #authorization #jwt #security

License

MIT (license)

Dependencies

crypto, diana

More

Packages that depend on diana_auth