AddGitLabSelfHostedProviderRequest constructor

AddGitLabSelfHostedProviderRequest({
  1. String? issuer,
  2. String? name,
  3. String? clientId,
  4. String? clientSecret,
  5. Iterable<String>? scopes,
  6. Options? providerOptions,
})

Implementation

factory AddGitLabSelfHostedProviderRequest({
  $core.String? issuer,
  $core.String? name,
  $core.String? clientId,
  $core.String? clientSecret,
  $core.Iterable<$core.String>? scopes,
  $10.Options? providerOptions,
}) {
  final $result = create();
  if (issuer != null) {
    $result.issuer = issuer;
  }
  if (name != null) {
    $result.name = name;
  }
  if (clientId != null) {
    $result.clientId = clientId;
  }
  if (clientSecret != null) {
    $result.clientSecret = clientSecret;
  }
  if (scopes != null) {
    $result.scopes.addAll(scopes);
  }
  if (providerOptions != null) {
    $result.providerOptions = providerOptions;
  }
  return $result;
}