You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 24, 2018. It is now read-only.
This code is a sample, but it would not really be used within cognitoUser.authenticateUser because the credentials were just created with new AWS.CognitoIdentityCredentials, it would not be necessary to refresh them, it is a code the .refresh method to say that this method exists, no?
AWS.config.credentials.refresh((error) => {
if (error) {
console.error(error);
} else {
// Instantiate aws sdk service objects now that the credentials have been updated.
// example: var s3 = new AWS.S3();
console.log('Successfully logged!');
}
});
The text was updated successfully, but these errors were encountered:
tastafur
changed the title
Question: With the case 4
Question: With the use case 4
Feb 7, 2018
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This code is a sample, but it would not really be used within cognitoUser.authenticateUser because the credentials were just created with new AWS.CognitoIdentityCredentials, it would not be necessary to refresh them, it is a code the .refresh method to say that this method exists, no?
The text was updated successfully, but these errors were encountered: