sw_auth 0.5.2 copy "sw_auth: ^0.5.2" to clipboard
sw_auth: ^0.5.2 copied to clipboard

Spinwheel Auth Package

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add sw_auth

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

dependencies:
  sw_auth: ^0.5.2

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

Import it

Now in your Dart code, you can use:

import 'package:sw_auth/endpoint/endpoint_auth.dart';
import 'package:sw_auth/endpoint/endpoint_auth.g.dart';
import 'package:sw_auth/endpoint/endpoint_auth_refresh_token.dart';
import 'package:sw_auth/endpoint/endpoint_auth_refresh_token.g.dart';
import 'package:sw_auth/endpoint/endpoint_auth_token.dart';
import 'package:sw_auth/endpoint/endpoint_auth_token.g.dart';
import 'package:sw_auth/endpoint/endpoint_polled_auth.dart';
import 'package:sw_auth/endpoint/endpoint_polled_auth.g.dart';
import 'package:sw_auth/service/service_token.dart';
import 'package:sw_auth/sw_init_auth.dart';
import 'package:sw_auth/usecase_auth.dart';
import 'package:sw_auth/usecase_polled_auth.dart';
1
likes
90
pub points
0%
popularity

Publisher

verified publisherspinwheel.io

Spinwheel Auth Package

Homepage

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

dio, dio_cache_interceptor, flutter, get, retrofit, sw_core

More

Packages that depend on sw_auth