OidcProvider constructor
OidcProvider({})
Implementation
factory OidcProvider({
$core.String? id,
OidcProviderType? type,
$core.String? secret,
$core.String? logo,
$core.String? name,
$core.bool? enabled,
$core.String? url,
$core.Iterable<$core.String>? scopes,
$core.String? redirectUrl,
}) {
final _result = create();
if (id != null) {
_result.id = id;
}
if (type != null) {
_result.type = type;
}
if (secret != null) {
_result.secret = secret;
}
if (logo != null) {
_result.logo = logo;
}
if (name != null) {
_result.name = name;
}
if (enabled != null) {
_result.enabled = enabled;
}
if (url != null) {
_result.url = url;
}
if (scopes != null) {
_result.scopes.addAll(scopes);
}
if (redirectUrl != null) {
_result.redirectUrl = redirectUrl;
}
return _result;
}