shelf_auth 0.7.4 copy "shelf_auth: ^0.7.4" to clipboard
shelf_auth: ^0.7.4 copied to clipboard

Dart 1 only

A shelf handler for authentication and authorisation

0.7.3 #

  • Require dart-sdk version 1.16.0
  • Remove crypto dependency (dart 1.16.0 ships with all necessary functions in dart:convert)

0.7.2 #

  • Updated crypto dependency with required code changes

0.7.1 #

  • Update dependency versions on dart_jwt, shelf_path and shelf_route

0.7.0 #

  • SessionHandler returns a Future
  • Support for custom session claimsets

0.6.0+1 #

  • Upgrade to shelf 0.6.0
  • Use test package
  • Upgrade option

0.5.2 #

  • Port to option >1.0.0
  • unittest to test replacement
  • Added explicit dependency from matcher 0.12.0

0.5.1 #

  • Exposed a models.dart with just things like Principal, AuthenticatedContext etc

0.5.0 #

  • Now uses http_exception package rather than shelf_exception_response

0.4.0 #

  • Upgraded dart-jwt and shelf versions

0.3.0 #

  • BREAKING CHANGE: Made sessionIdentifier mandatory for jwt sessions.
    • If you are using jwt sessions in production then release a version with 0.2.6 first. Otherwise you will get errors from any existing sessions as they won't have sessionIdentifiers.

0.2.6 #

  • Added an optional sessionIdentifier

0.2.5 #

  • Added support for excluding some requests from authorisation checks

0.2.4 #

  • Added authenticated only authoriser

0.2.3+1 #

  • Added some logging

0.2.3 #

  • Added authorisation support

0.2.2+1 #

  • Some doco

0.2.2 #

  • Exposed zone functionality via an spi so other libs can manually set auth context

0.2.1 #

  • Added builder to simplify creating authentication middleware. Use the new builder function to create a builder

0.2.0 #

  • Added AuthenticatedContext as a Zone variable. Available via a new function authenticatedContext()

Note the AuthenticationMiddleware class is no longer exposed. If you depended on it then this change is backwards incompatible. Otherwise all good

0.1.0+1 #

  • Added missing dependency on shelf_path

0.1.0 #

  • Added Jwt Session Mechanism
  • SessionHandlers now have an associated Authenticator

0.0.3 #

  • Added Basic Auth

0.0.1 #

  • First version
0
likes
20
pub points
21%
popularity

Publisher

unverified uploader

A shelf handler for authentication and authorisation

Homepage

License

BSD-2-Clause-Views (LICENSE)

Dependencies

dart_jwt, http_exception, matcher, option, shelf, shelf_path, uuid

More

Packages that depend on shelf_auth