lib/credentials/cognito_identity_credentials.js
function clearCache() {
    this._identityId = null;
    delete this.params.IdentityId;

    var poolId = this.params.IdentityPoolId;
    var loginId = this.params.LoginId || '';
    delete this.storage[this.localStorageKey.id + poolId + loginId];
    delete this.storage[this.localStorageKey.providers + poolId + loginId];
  }
function clearCache() {
    this._identityId = null;
    delete this.params.IdentityId;

    var poolId = this.params.IdentityPoolId;
    var loginId = this.params.LoginId || '';
    delete this.storage[this.localStorageKey.id + poolId + loginId];
    delete this.storage[this.localStorageKey.providers + poolId + loginId];
  }
function clearCache ( ) { this . _identityId = null ; delete this . params . IdentityId ; var poolId = this . params . IdentityPoolId ; var loginId = this . params . LoginId || '' ; delete this . storage [ this . localStorageKey . id + poolId + loginId ] ; delete this . storage [ this . localStorageKey . providers + poolId + loginId ] ; }
Clears the cached Cognito ID associated with the currently configured
identity pool ID. Use this to manually invalidate your cache if
the identity pool ID was deleted.
Clears the cached Cognito ID associated with the currently configured identity pool ID . Use this to manually invalidate your cache if the identity pool ID was deleted .