AddOrgOIDCIDPRequest constructor
AddOrgOIDCIDPRequest({
- String? name,
- IDPStylingType? stylingType,
- String? clientId,
- String? clientSecret,
- String? issuer,
- Iterable<
String> ? scopes, - OIDCMappingField? displayNameMapping,
- OIDCMappingField? usernameMapping,
- bool? autoRegister,
Implementation
factory AddOrgOIDCIDPRequest({
$core.String? name,
$10.IDPStylingType? stylingType,
$core.String? clientId,
$core.String? clientSecret,
$core.String? issuer,
$core.Iterable<$core.String>? scopes,
$10.OIDCMappingField? displayNameMapping,
$10.OIDCMappingField? usernameMapping,
$core.bool? autoRegister,
}) {
final $result = create();
if (name != null) {
$result.name = name;
}
if (stylingType != null) {
$result.stylingType = stylingType;
}
if (clientId != null) {
$result.clientId = clientId;
}
if (clientSecret != null) {
$result.clientSecret = clientSecret;
}
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;
}
if (autoRegister != null) {
$result.autoRegister = autoRegister;
}
return $result;
}