OIDCConfig constructor
OIDCConfig({
- String? clientId,
- String? issuer,
- Iterable<
String> ? scopes, - OIDCMappingField? displayNameMapping,
- OIDCMappingField? usernameMapping,
Implementation
factory OIDCConfig({
$core.String? clientId,
$core.String? issuer,
$core.Iterable<$core.String>? scopes,
OIDCMappingField? displayNameMapping,
OIDCMappingField? usernameMapping,
}) {
final $result = create();
if (clientId != null) {
$result.clientId = clientId;
}
if (issuer != null) {
$result.issuer = issuer;
}
if (scopes != null) {
$result.scopes.addAll(scopes);
}
if (displayNameMapping != null) {
$result.displayNameMapping = displayNameMapping;
}
if (usernameMapping != null) {
$result.usernameMapping = usernameMapping;
}
return $result;
}