auth_token_generator 1.1.1 copy "auth_token_generator: ^1.1.1" to clipboard
auth_token_generator: ^1.1.1 copied to clipboard

A Dart package for generating and validating bearer tokens using HMAC-SHA256 encryption.

1.1.0 - 2024-12-30 #

  • Added decodeBearerToken method for decoding tokens without validating the signature.
  • Added isTokenExpired method to check if a token is expired based on its exp claim.
  • Updated the README with usage examples for all methods in the AuthTokenGenerator class.

1.0.0 - 2024-06-16 #

  • Initial version of auth_token_generator.
  • Implemented methods for generating and validating bearer tokens using HMAC-SHA256 encryption.
  • Included methods for extracting user IDs and verifying token expiration.
4
likes
155
points
47
downloads

Publisher

verified publishermypackeges.tk

Weekly Downloads

A Dart package for generating and validating bearer tokens using HMAC-SHA256 encryption.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

crypto

More

Packages that depend on auth_token_generator