NiceTokenManagement constructor

const NiceTokenManagement({
  1. Key? key,
  2. required List<NiceTokenInfo> tokens,
  3. Future<void> onCreateToken(
    1. String name,
    2. List<String> scopes
    )?,
  4. Future<void> onRevokeToken(
    1. String id
    )?,
  5. List<String> availableScopes = const [],
  6. String title = 'API Keys',
})

Implementation

const NiceTokenManagement({
  super.key,
  required this.tokens,
  this.onCreateToken,
  this.onRevokeToken,
  this.availableScopes = const [],
  this.title = 'API Keys',
});