Created
March 21, 2022 06:48
-
-
Save dev4jam/05282a003427ee49e80988263cfc7b60 to your computer and use it in GitHub Desktop.
Basic auth
This file contains 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
void addBasicAuth(String accessToken) { | |
_headers['Authorization'] = 'Bearer $accessToken'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment