AuthenticationOptions constructor

AuthenticationOptions({
  1. String? discoveryEndpoint,
  2. bool apiAccess = false,
  3. List<String>? roles,
  4. List<String>? projectAudiences,
  5. List<String>? additionalScopes,
})

Implementation

AuthenticationOptions(
    {this.discoveryEndpoint,
    this.apiAccess = false,
    List<String>? roles,
    List<String>? projectAudiences,
    List<String>? additionalScopes})
    : roles = roles ?? [],
      projectAudiences = projectAudiences ?? [],
      additionalScopes = additionalScopes ?? [];