ddt 1.0.0 copy "ddt: ^1.0.0" to clipboard
ddt: ^1.0.0 copied to clipboard

This package helps to generate and verify authentication token.

ddt #

This package helps to encryption and decryption and hash with verification.

Using #

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile and web development, and a full API reference.

Installation #

First, add ddt as a dependency in your pubspec.yaml file.

In your flutter project add the dependency:

dependencies:
  ...
  ddt:

For help getting started with Flutter, view the online documentation.

Example #

Please follow this example here.

Generate Token #

DDT.generateToken(payload, key: "datadirr", seconds: 60); // seconds: 0 (No Expiry)

Verify Token #

DDT.verifyToken(token, key: "datadirr");

Check Token Expired or not #

DDT.isTokenExpired(token, key: "datadirr");
0
likes
160
points
107
downloads

Publisher

verified publisherdatadirr.com

Weekly Downloads

This package helps to generate and verify authentication token.

Homepage
Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

encrypter, flutter, flutter_web_plugins, plugin_platform_interface, web

More

Packages that depend on ddt