Constructor
# new AWSOsduSimpleCredentialProvider(username, password)
Parameters:
Name | Type | Description |
---|---|---|
username |
string | Cognito username |
password |
string | Cognito password |
Methods
# async GetCredentials() → {Promise.<Object>|string|string}
Serve credentials from memory
credentials - Promise resolving with Cognito username and password
Promise.<Object>
credentials.username - Cognito username
string
credentials.password - Cognito password
string