Created
July 15, 2020 09:48
-
-
Save magicleon94/3aa760ec4e7df8b689ef5537c0140044 to your computer and use it in GitHub Desktop.
Auth0 for web class - 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 'auth_manager.dart'; | |
import 'dart:js' as js; | |
//other imports | |
class Auth0ManagerForWeb extends AuthManager { | |
@override | |
Future<User> login([Map<String, String> authResponse]) async { | |
//stuff that uses dart:js | |
} | |
@override | |
Future<void> logout() async { | |
//stuff that uses dart:js | |
} | |
@override | |
Future<User> userFromTokens(String idToken, String accessToken) async { | |
//stuff that uses dart:js | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment