requestToken method
- @required int? ttl,
- Map<
String, dynamic> ? meta, - String? authorizedUUID,
- String? authorizedUserId,
- String? using,
- Keyset? keyset,
inherited
Creates a TokenRequest that can be used to obtain a Token.
Implementation
TokenRequest requestToken(
{@required int? ttl,
Map<String, dynamic>? meta,
String? authorizedUUID,
String? authorizedUserId,
String? using,
Keyset? keyset}) {
Ensure(ttl).isNotNull('ttl');
keyset ??= keysets[using];
return TokenRequest(this, keyset, ttl!,
meta: meta,
authorizedUUID: authorizedUUID,
authorizedUserId: authorizedUserId);
}