currentAccessToken property

String? get currentAccessToken

Implementation

String? get currentAccessToken {
  final bearer = authentications.values.first;
  if (bearer is ApiKeyAuth) {
    return bearer.apiKey;
  } else {
    return bearer.lastAuthentication?.toString();
  }
}