-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow Auth credentials to be fetched via callback(async), backwards c…
…ompatible (#62) * Fetch auth token via callback FOr OIDC or Cognito authentication, auth tokens often expire and need to be re-generated. Using a callback follows the model also used by aws-mobile-appsync-sdk-js * removed log statement * Enabled async retrieval of auth tokens with backwards compatibility * Enabled async retrieval of auth tokens with backwards compatibility * removed extra blank lines * fixed copyright * prefer fatal error instead of silent failure where Async provider is used * ensure message is sent even when async provider is not used * removed extra blank lines * async token callback now accepts an error
- Loading branch information
1 parent
c9ce191
commit 1e245b9
Showing
4 changed files
with
308 additions
and
32 deletions.
There are no files selected for viewing
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
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
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
Oops, something went wrong.