addCloudToken method

void addCloudToken(
  1. String jwt, {
  2. String role = 'operator',
})

Accepts jwt at POST /auth/token-exchange as a cloud user with role.

Implementation

void addCloudToken(String jwt, {String role = 'operator'}) =>
    _cloudTokens[jwt] = role;