GenericOIDCConfig constructor

GenericOIDCConfig({
  1. String? issuer,
  2. String? clientId,
  3. Iterable<String>? scopes,
  4. bool? isIdTokenMapping,
})

Implementation

factory GenericOIDCConfig({
  $core.String? issuer,
  $core.String? clientId,
  $core.Iterable<$core.String>? scopes,
  $core.bool? isIdTokenMapping,
}) {
  final $result = create();
  if (issuer != null) {
    $result.issuer = issuer;
  }
  if (clientId != null) {
    $result.clientId = clientId;
  }
  if (scopes != null) {
    $result.scopes.addAll(scopes);
  }
  if (isIdTokenMapping != null) {
    $result.isIdTokenMapping = isIdTokenMapping;
  }
  return $result;
}