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.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add diana_auth

With Flutter:

 $ flutter pub add diana_auth

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  diana_auth: ^0.15.1

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:diana_auth/diana_auth.dart';
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