TokenRequest constructor

TokenRequest(
  1. Core _core,
  2. Keyset _keyset,
  3. int ttl, {
  4. Map<String, dynamic>? meta,
  5. String? authorizedUUID,
  6. String? authorizedUserId,
})

Implementation

TokenRequest(this._core, this._keyset, this.ttl,
    {this.meta, this.authorizedUUID, this.authorizedUserId})
    : assert(authorizedUUID == null || authorizedUserId == null,
          'Either `authorizedUUID` or `authorizedUserId` is allowed');