resetAwsCredentials method

Future<void> resetAwsCredentials()

Reset AWS Credentials; removes Identity Id from local storage

Implementation

Future<void> resetAwsCredentials() async {
  await CognitoIdentityId(_identityPoolId, _pool).removeIdentityId();
  expireTime = null;
  accessKeyId = null;
  secretAccessKey = null;
  sessionToken = null;
}