Skip to main content

token_manager_gql 0.1.1 copy "token_manager_gql: ^0.1.1" to clipboard
token_manager_gql: ^0.1.1 copied to clipboard

A gql_link Link that attaches token_manager tokens to GraphQL requests and replays once after an auth failure.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add token_manager_gql

With Flutter:

 $ flutter pub add token_manager_gql

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

dependencies:
  token_manager_gql: ^0.1.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:token_manager_gql/token_manager_gql.dart';
0
likes
160
points
32
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A gql_link Link that attaches token_manager tokens to GraphQL requests and replays once after an auth failure.

Repository (GitHub)
View/report issues
Contributing

Topics

#graphql #gql #authentication

License

MIT (license)

Dependencies

gql_exec, gql_link, token_manager

More

Packages that depend on token_manager_gql