AuthConfig constructor

AuthConfig({
  1. Iterable<AuthHandlerConfig>? handlers,
  2. Iterable<String>? tlsAuthEntities,
  3. ExternalAuthConfig? externalAuthConfig,
})

Implementation

factory AuthConfig({
  $core.Iterable<AuthHandlerConfig>? handlers,
  $core.Iterable<$core.String>? tlsAuthEntities,
  ExternalAuthConfig? externalAuthConfig,
}) {
  final $result = create();
  if (handlers != null) {
    $result.handlers.addAll(handlers);
  }
  if (tlsAuthEntities != null) {
    $result.tlsAuthEntities.addAll(tlsAuthEntities);
  }
  if (externalAuthConfig != null) {
    $result.externalAuthConfig = externalAuthConfig;
  }
  return $result;
}