Last active
July 15, 2020 10:01
-
-
Save magicleon94/9f5b270cb4cdbe5642b0b96d1a3c0586 to your computer and use it in GitHub Desktop.
Auth0 manager for mobile - for medium article
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter_auth0/flutter_auth0.dart'; | |
//other imports | |
class Auth0Manager extends AuthManager { | |
@override | |
Future<User> login([Map<String, String> authResponse]) async { | |
//stuff that uses classic dart.io | |
} | |
@override | |
Future<User> userFromTokens(String idToken, String accessToken) async { | |
//stuff that uses classic dart.io | |
} | |
@override | |
Future<void> logout() async { | |
//stuff that uses classic dart.io | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment