AuthConfig constructor
AuthConfig({
- Iterable<
AuthHandlerConfig> ? handlers, - Iterable<
String> ? tlsAuthEntities, - 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;
}