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