Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
69115cd
✨ add cuemon.kernel package to the README.md
gimlichael Nov 21, 2026
c6a7b09
📝 remove availability note from PortablePhysicalFileProvider.md
gimlichael Nov 21, 2026
c1b996e
🙈 ignore generated docfx run-actions output
aicia-bot Nov 21, 2026
26c713e
📝 update docfx documentation maintenance rules in agents guide
aicia-bot Nov 21, 2026
8c2c506
✨ add docfx run-actions build and template support
aicia-bot Nov 21, 2026
024d9b1
📝 update docfx api namespace and type overwrite files
aicia-bot Nov 21, 2026
dea3f41
🔧 update docfx run-actions manifest and settings
aicia-bot Nov 21, 2026
e6b7adf
📝 update docfx api type overwrite examples
aicia-bot Nov 21, 2026
5cb65a2
🔧 update docfx run-actions script, manifest, and settings
aicia-bot Nov 21, 2026
a89394a
📝 update docfx api type overwrite examples
aicia-bot Nov 21, 2026
9c23729
🔧 update docfx run-actions script, manifest, and settings
aicia-bot Nov 21, 2026
626664f
📝 update docfx api type overwrite examples
aicia-bot Nov 21, 2026
4dbe97e
🔨 enforce host build and probe timeouts in docfx run actions
aicia-bot Nov 22, 2026
8d87de8
📝 enable host run actions for app tag helper options
aicia-bot Nov 22, 2026
906538e
📝 update changelog with docfx run-actions and api examples changes
gimlichael Nov 22, 2026
385f155
📝 update docfx availability documentation scope and guidelines
gimlichael Nov 22, 2026
0eb09d5
🔨 add net48 support to docfx run-actions
aicia-bot Nov 22, 2026
7f3f5e7
🔨 harden docfx run-action generation and image verification
aicia-bot Nov 23, 2026
52dc7e4
👷 validate docfx run-actions in pr and release workflows
aicia-bot Nov 23, 2026
d535215
📝 document docfx build entry points in agents guide
aicia-bot Nov 23, 2026
0848083
⚗️ add multi-tfm docfx metadata consolidation poc
aicia-bot Nov 23, 2026
8f912b9
🔧 remove hardcoded target framework from docfx metadata groups
aicia-bot Nov 23, 2026
ee8b022
⚗️ add native docfx framework views poc
aicia-bot Nov 23, 2026
4a2a7b0
🔨 support unsigned metadata and framework views in docfx scripts
aicia-bot Nov 24, 2026
848bd65
♻️ delegate docfx framework-view fixture to shared builder
aicia-bot Nov 24, 2026
407be41
👷 add docfx framework-view workflow job
aicia-bot Nov 24, 2026
53875b1
📝 document docfx local build prerequisites
aicia-bot Nov 24, 2026
4416817
🔨 use shared docfx builder for local site image
aicia-bot Nov 26, 2026
fe45ad6
🔥 remove obsolete local docfx multi-tfm tooling
aicia-bot Nov 26, 2026
d36d962
👷 remove obsolete docfx framework-view job from pr workflow
aicia-bot Nov 26, 2026
1d2cae2
📝 update docfx build entry points in agents guide
aicia-bot Nov 26, 2026
960e8b2
🔨 pull floating docfx:2 builder image
aicia-bot Nov 26, 2026
544d368
📝 document floating docfx:2 builder image usage
aicia-bot Nov 26, 2026
2d0603f
🔨 simplify docfx run-actions build script
aicia-bot Nov 27, 2026
d68154f
📝 update docfx api documentation and run-actions
aicia-bot Nov 27, 2026
f0ef8d2
🔧 configure docfx metadata properties and xref map
aicia-bot Nov 27, 2026
92ceb00
🔨 cache xref maps and metadata in docfx build
aicia-bot Nov 27, 2026
8096b30
⚡️ short-circuit regex scan in run-actions test
aicia-bot Nov 27, 2026
d182e13
🔧 update docfx run-actions scripts and validation processes
gimlichael Nov 27, 2026
0075a26
📝 update docfx examples for servertimingfilter and tokenbuilder
aicia-bot Nov 29, 2026
3c7e966
📝 update docfx verification instructions in agents guide
aicia-bot Nov 29, 2026
2ef1317
📝 update docfx api examples and run-actions metadata
aicia-bot Nov 29, 2026
7304555
🔨 revalidate cached xref maps in docfx image build script
aicia-bot Nov 29, 2026
36b1aca
📝 update api doc examples and run-actions metadata
aicia-bot Nov 29, 2026
5dd599e
💬 clarify docfx run-actions wording in changelog
aicia-bot Nov 29, 2026
38aac1d
🐛 fix case-sensitive transport check in docfx run-actions
aicia-bot Nov 30, 2026
6b23bef
📝 clarify docfx example descriptions for auth and serializer
aicia-bot Nov 30, 2026
db82ee6
🎨 format partitioner docfx example code
aicia-bot Nov 30, 2026
061a626
✨ add greptile badge for bug tracking in README
gimlichael Dec 1, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .docfx/.dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ wwwroot/
obj/
bin/
*.ps1
!run-actions/**/*.ps1
359 changes: 215 additions & 144 deletions .docfx/BuildDocfxImage.ps1

Large diffs are not rendered by default.

519 changes: 519 additions & 0 deletions .docfx/BuildRunActions.ps1

Large diffs are not rendered by default.

15 changes: 13 additions & 2 deletions .docfx/Dockerfile.docfx
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# For the local multi-framework image, run pwsh .docfx/BuildDocfxImage.ps1.
# To build this Dockerfile directly from the repository root:
# pwsh .docfx/BuildRunActions.ps1
# pwsh .docfx/TestRunActions.ps1
# docfx metadata .docfx/docfx.json
# docker build -f .docfx/Dockerfile.docfx .docfx
# Direct builds fail immediately if generated run-actions/ scripts are missing or incomplete.

ARG NGINX_VERSION=1.31-alpine

FROM --platform=$BUILDPLATFORM dhi.io/nginx:${NGINX_VERSION} AS base
Expand All @@ -7,8 +15,11 @@ FROM --platform=$BUILDPLATFORM codebeltnet/docfx:2 AS build

ADD [".", "docfx"]

RUN cd docfx; \
docfx build
RUN set -eu; \
cd docfx; \
sh ./verify-docfx-site.sh --context .; \
docfx build; \
sh ./verify-docfx-site.sh --site wwwroot --source . --manifest run-actions.manifest.json

FROM dhi.io/nginx:${NGINX_VERSION} AS final
WORKDIR /usr/share/nginx/html
Expand Down
705 changes: 705 additions & 0 deletions .docfx/TestRunActions.ps1

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ summary: *content
---
Implement [HMAC-based request signing](https://www.okta.com/identity-101/hmac/) (inspired by [AWS Signature Version 4](https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-auth-using-authorization-header.html) and its [signing process](https://docs.aws.amazon.com/general/latest/gr/sigv4_signing.html)) in your ASP.NET Core application. Use this namespace when you need to authenticate requests using a hash-based message authentication code. Start with `HmacAuthenticationHandler` for validating HMAC-signed requests in your authentication pipeline.

[!INCLUDE [availability-modern](../../includes/availability-modern.md)
[!INCLUDE [availability-modern](../../includes/availability-modern.md)]
4 changes: 2 additions & 2 deletions .docfx/api/namespaces/Cuemon.Net.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
uid: Cuemon.Net
summary: *content
---
Work with HTTP and SMTP protocols through a simple programming interface. Use this namespace when you need to work with URI encoding, query strings, or protocol-level conversions. Start with `UrlEncode` on `IDecorator<String>` for encoding URI components, or `ToQueryString` for building query strings from name-value collections.
Work with HTTP and SMTP protocols through a simple programming interface. Use this namespace when you need to work with URI encoding, query strings, or protocol-level conversions. Start with `UrlEncode` and `UrlDecode` on `IDecorator<String>` for encoding and decoding URI components, or see [Cuemon.Extensions.Net](/api/extensions/dotnet/Cuemon.Extensions.Net.html) for `ToQueryString` on name-value collections.

[!INCLUDE [availability-default](../../includes/availability-default.md)]

Expand All @@ -13,4 +13,4 @@ Complements: [System.Net namespace](https://docs.microsoft.com/en-us/dotnet/api/
|Type|Ext|Methods|
|--:|:-:|---|
|IDecorator<Byte[]>|⬇️|`ToStream`, `UrlEncode`|
|IDecorator<String>|⬇️|`ToStream`, `UrlEncode`, `UrlDecode`, `ToQueryString`|
|IDecorator<String>|⬇️|`ToStream`, `UrlEncode`, `UrlDecode`|
8 changes: 4 additions & 4 deletions .docfx/api/namespaces/Cuemon.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ Related: [Cuemon.Extensions namespace](/api/extensions/dotnet/Cuemon.Extensions.

|Type|Ext|Methods|
|--:|:-:|---|
|IDecorator<Byte[]>|⬇️|`ToEncodedString`, `ToHexadecimalString`, `ToBinaryString`, `ToUrlEncodedBase64String`, `ToBase64String`, `TryDetectUnicodeEncoding`, `ToStream`|
|IDecorator<Byte[]>|⬇️|`ToEncodedString`, `ToStream`|
|IDecorator<IEnumerable<Char>>|⬇️|`ToEnumerable`, `ToStringEquivalent`|
|IDecorator<DateTime>|⬇️|`GetUnixEpoch`, `ToUnixEpochTime`, `ToUtcKind`, `ToLocalKind`, `ToDefaultKind`|
|IDecorator<Delegate>|⬇️|`ResolveDelegateInfo`|
|IDecorator<Double>|⬇️|`ToTimeSpan`|
|IDecorator<Exception>|⬇️|`Flatten`|
|IDecorator<Int32>|⬇️|`Max`, `Min`, `IsPrime`, `IsCountableSequence`, `IsEven`, `IsOdd`|
|IDecorator<Int32>|⬇️|`Max`|
|IDecorator<Object>|⬇️|`ChangeType`, `ChangeType<T>`, `ChangeTypeOrDefault<T>`, `DefaultPropertyValueResolver`|
|IDecorator<String>|⬇️|`Difference`, `ToByteArray`, `FromUrlEncodedBase64`, `ToCasing`, `ToAsciiEncodedString`, `ToStream`, `ToUri`, `StartsWith`, `ContainsAny`|
|IDecorator<String>|⬇️|`Difference`, `ToByteArray`, `ToCasing`, `ToAsciiEncodedString`, `ToStream`, `ToUri`, `StartsWith`, `ContainsAny`|
|IDecorator<TSource>|⬇️|`TraverseWhileNotEmpty<TSource>`|
|IDecorator<Type>|⬇️|`ToFriendlyName`, `IsNullable`, `IsComplex`, `IsSimple`, `HasAnonymousCharacteristics`, `HasDefaultConstructor`, `HasEqualityComparerImplementation`, `HasComparableImplementation`, `HasComparerImplementation`, `HasEnumerableImplementation`, `HasDictionaryImplementation`, `HasKeyValuePairImplementation`, `HasTypes`, `HasInterfaces`, `HasAttribute`, `HasCircularReference`, `MatchMember`, `GetDefaultValue`, `GetAllProperties`, `GetAllFields`, `GetAllEvents`, `GetAllMethods`, `GetRuntimePropertiesExceptOf<T>`, `GetInheritedTypes`, `GetDerivedTypes`, `GetHierarchyTypes`|
|IDecorator<Type>|⬇️|`ToFriendlyName`, `IsNullable`, `IsComplex`, `HasAnonymousCharacteristics`, `HasDefaultConstructor`, `HasEqualityComparerImplementation`, `HasComparableImplementation`, `HasComparerImplementation`, `HasEnumerableImplementation`, `HasDictionaryImplementation`, `HasKeyValuePairImplementation`, `HasTypes`, `HasInterfaces`, `HasAttribute`, `HasCircularReference`, `MatchMember`, `GetDefaultValue`, `GetAllProperties`, `GetAllFields`, `GetAllEvents`, `GetAllMethods`, `GetRuntimePropertiesExceptOf<T>`, `GetInheritedTypes`, `GetDerivedTypes`, `GetHierarchyTypes`|
47 changes: 22 additions & 25 deletions .docfx/api/types/Cuemon.ActionFactory`1.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,39 +7,36 @@ example:
The following example demonstrates how to use <xref cref="Cuemon.ActionFactory{TTuple}"/> to wrap and invoke a delegate with n-tuple arguments.

```csharp
// Program.cs
using System;
using Cuemon;

namespace MyApp.Examples;
// Create a mutable tuple with string and int arguments
var tuple = new MutableTuple<string, int>("Hello", 42);

public class ActionFactoryExample
// Define an action that processes the tuple
void Process(MutableTuple<string, int> t)
{
public void Demonstrate()
{
// Create a mutable tuple with string and int arguments
var tuple = new MutableTuple<string, int>("Hello", 42);

// Define an action that processes the tuple
void Process(MutableTuple<string, int> t)
{
Console.WriteLine($"Message: {t.Arg1}, Value: {t.Arg2}");
Console.WriteLine($"Message: {t.Arg1}, Value: {t.Arg2}");
}

// Wrap the action and tuple in an ActionFactory
var factory = new ActionFactory<MutableTuple<string, int>>(Process, tuple);
// Wrap the action and tuple in an ActionFactory
var factory = new ActionFactory<MutableTuple<string, int>>(Process, tuple);

// Inspect factory state
Console.WriteLine(factory.HasDelegate); // True
Console.WriteLine(factory.GenericArguments.Arg1); // "Hello"
Console.WriteLine(factory.GenericArguments.Arg2); // 42
// Inspect factory state
Console.WriteLine(factory.HasDelegate); // True
Console.WriteLine(factory.GenericArguments.Arg1); // "Hello"
Console.WriteLine(factory.GenericArguments.Arg2); // 42

// Invoke the wrapped delegate
factory.ExecuteMethod(); // Output: "Message: Hello, Value: 42"
// Invoke the wrapped delegate
factory.ExecuteMethod(); // Output: "Message: Hello, Value: 42"

// Create a clone for safe concurrent use
var clone = factory.Clone() as ActionFactory<MutableTuple<string, int>>;
clone?.ExecuteMethod();

}}
}
// Create a clone for safe concurrent use
var clone = factory.Clone() as ActionFactory<MutableTuple<string, int>>;
clone?.ExecuteMethod();

```

<!-- docfx-run-actions:start -->
<div class="docfx-run-actions" data-example-id="ca6ef14e13670f55a7f76f10"><a href="~/run-actions/ca6ef14e13670f55a7f76f10/native.ps1" data-transport="native">View Native Script</a> · <a href="~/run-actions/ca6ef14e13670f55a7f76f10/docker.ps1" data-transport="docker">View Docker Script</a></div>
<!-- docfx-run-actions:end -->
21 changes: 9 additions & 12 deletions .docfx/api/types/Cuemon.Alphanumeric.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,16 @@ example:
The following example demonstrates how to use the `Alphanumeric` class to access predefined character sets. It prints the available character ranges for digits, uppercase letters, hexadecimal characters, and punctuation marks.

```csharp
// Program.cs
using System;
using Cuemon;

namespace MyApp.CharacterSets;

public class AlphanumericExample
{
public void Demonstrate()
{
Console.WriteLine(Alphanumeric.Numbers); // "0123456789"
Console.WriteLine(Alphanumeric.UppercaseLetters); // "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
Console.WriteLine(Alphanumeric.Hexadecimal); // "0123456789ABCDEF"
Console.WriteLine(Alphanumeric.PunctuationMarks); // "!@#$%^&*()_-+=[{]};:<>|.,/?`~\"'"
}
}
Console.WriteLine(Alphanumeric.Numbers); // "0123456789"
Console.WriteLine(Alphanumeric.UppercaseLetters); // "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
Console.WriteLine(Alphanumeric.Hexadecimal); // "0123456789ABCDEF"
Console.WriteLine(Alphanumeric.PunctuationMarks); // "!@#$%^&*()_-+=[{]};:<>|.,/?`~\"'"
```

<!-- docfx-run-actions:start -->
<div class="docfx-run-actions" data-example-id="ebc3994820ebf6dd1adb3a71"><a href="~/run-actions/ebc3994820ebf6dd1adb3a71/native.ps1" data-transport="native">View Native Script</a> · <a href="~/run-actions/ebc3994820ebf6dd1adb3a71/docker.ps1" data-transport="docker">View Docker Script</a></div>
<!-- docfx-run-actions:end -->
40 changes: 16 additions & 24 deletions .docfx/api/types/Cuemon.ArgumentReservedKeywordException.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,34 +7,26 @@ example:
The following example shows how to throw an `ArgumentReservedKeywordException` when a parameter value matches a reserved SQL keyword. It demonstrates the expected validation failure and how to catch the exception with access to the parameter name.

```csharp
// Program.cs
using System;
using Cuemon;

namespace MyApp.Validation
var reservedKeywords = new[] { "select", "insert", "update", "delete", "from", "where" };
try
{
public class ReservedKeywordValidator
var columnName = "select";
if (Array.Exists(reservedKeywords, keyword => string.Equals(keyword, columnName, StringComparison.OrdinalIgnoreCase)))
{
private static readonly string[] SqlReservedKeywords = new[]
{
"select", "insert", "update", "delete", "from", "where"
};

public static void ValidateColumnName(string paramName, string value)
{
if (Array.Exists(SqlReservedKeywords,
kw => string.Equals(kw, value, StringComparison.OrdinalIgnoreCase)))
{
throw new ArgumentReservedKeywordException(paramName, value,
"Value must not be a reserved SQL keyword.");

// Usage:
// try { ValidateColumnName("sortBy", "select"); }
// catch (ArgumentReservedKeywordException ex) when (ex.ParamName == "sortBy")
// {
// Console.WriteLine($"Validation failed: {ex.Message}");
// }

}}}
throw new ArgumentReservedKeywordException("sortBy", columnName, "Value must not be a reserved SQL keyword.");
}
}
catch (ArgumentReservedKeywordException ex)
{
Console.WriteLine(ex.Message);
Console.WriteLine(ex.ParamName);
}

```

<!-- docfx-run-actions:start -->
<div class="docfx-run-actions" data-example-id="380d9162584a0d1f996f0f51"><a href="~/run-actions/380d9162584a0d1f996f0f51/native.ps1" data-transport="native">View Native Script</a> · <a href="~/run-actions/380d9162584a0d1f996f0f51/docker.ps1" data-transport="docker">View Docker Script</a></div>
<!-- docfx-run-actions:end -->
Original file line number Diff line number Diff line change
Expand Up @@ -7,31 +7,27 @@ example:
The following example demonstrates how to keep the authenticate result and user principal synchronized on the current HTTP features.

```csharp
// Program.cs
using System;
using System.Security.Claims;
using Cuemon.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http.Features.Authentication;

namespace MyApp.Examples;
var principal = new ClaimsPrincipal(new ClaimsIdentity(new[] { new Claim(ClaimTypes.Name, "Agent") }, "Basic"));
var result = AuthenticateResult.Success(new AuthenticationTicket(principal, "Basic"));
var context = new DefaultHttpContext();

public static class AuthenticationHandlerFeatureExample
{
public static void Demonstrate()
{
var principal = new ClaimsPrincipal(new ClaimsIdentity(new[] { new Claim(ClaimTypes.Name, "Agent") }, "Basic"));
var result = AuthenticateResult.Success(new AuthenticationTicket(principal, "Basic"));
var context = new DefaultHttpContext();
AuthenticationHandlerFeature.Set(result, context);

AuthenticationHandlerFeature.Set(result, context);

var authenticateFeature = (AuthenticationHandlerFeature)context.Features.Get<IAuthenticateResultFeature>()!;
var httpAuthenticationFeature = (AuthenticationHandlerFeature)context.Features.Get<IHttpAuthenticationFeature>()!;

Console.WriteLine(authenticateFeature.AuthenticateResult == result);
Console.WriteLine(httpAuthenticationFeature.User.Identity?.Name);
}
}
var authenticateFeature = (AuthenticationHandlerFeature)context.Features.Get<IAuthenticateResultFeature>()!;
var httpAuthenticationFeature = (AuthenticationHandlerFeature)context.Features.Get<IHttpAuthenticationFeature>()!;

Console.WriteLine(authenticateFeature.AuthenticateResult == result);
Console.WriteLine(httpAuthenticationFeature.User.Identity?.Name);
```

<!-- docfx-run-actions:start -->
<div class="docfx-run-actions" data-example-id="67d4fc15a7a4ec439a4f68cf"><a href="~/run-actions/67d4fc15a7a4ec439a4f68cf/native.ps1" data-transport="native">View Native Script</a> · <a href="~/run-actions/67d4fc15a7a4ec439a4f68cf/docker.ps1" data-transport="docker">View Docker Script</a></div>
<!-- docfx-run-actions:end -->
44 changes: 20 additions & 24 deletions .docfx/api/types/Cuemon.AspNetCore.Authentication.Authenticator.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,38 +7,34 @@ example:
The following example demonstrates how to authenticate an HTTP request by parsing the `Authorization` header and resolving a claims principal.

```csharp
// Program.cs
using System;
using System.Security.Claims;
using Cuemon;
using Cuemon.AspNetCore.Authentication;
using Microsoft.AspNetCore.Http;
using Microsoft.Net.Http.Headers;

namespace MyApp.Examples;

public static class AuthenticatorExample
var context = new DefaultHttpContext()
{
public static void Demonstrate()
{
var context = new DefaultHttpContext()
{
Request = { IsHttps = true }
};
context.Request.Headers.Append(HeaderNames.Authorization, "Basic YWxpY2U6cGFzc3dvcmQ=");

var result = Authenticator.Authenticate<string>(context, false,
(HttpContext _, string authorizationHeader) => authorizationHeader,
(HttpContext _, string credentials, out ConditionalValue<ClaimsPrincipal> principal) =>
{
principal = new SuccessfulValue<ClaimsPrincipal>(
new ClaimsPrincipal(new ClaimsIdentity(
new[] { new Claim(ClaimTypes.Name, "alice") }, "Basic")));
return true;
});
Request = { IsHttps = true }
};
context.Request.Headers.Append(HeaderNames.Authorization, "Basic YWxpY2U6cGFzc3dvcmQ=");

Console.WriteLine("Succeeded: " + result.Succeeded);
Console.WriteLine("User: " + result.Result?.Identity?.Name);
}
}
var result = Authenticator.Authenticate<string>(context, false,
(HttpContext _, string authorizationHeader) => authorizationHeader,
(HttpContext _, string credentials, out ConditionalValue<ClaimsPrincipal> principal) =>
{
principal = new SuccessfulValue<ClaimsPrincipal>(
new ClaimsPrincipal(new ClaimsIdentity(
new[] { new Claim(ClaimTypes.Name, "alice") }, "Basic")));
return true;
});

Console.WriteLine("Succeeded: " + result.Succeeded);
Console.WriteLine("User: " + result.Result?.Identity?.Name);
```

<!-- docfx-run-actions:start -->
<div class="docfx-run-actions" data-example-id="5b36042b10dd61f92560cda7"><a href="~/run-actions/5b36042b10dd61f92560cda7/native.ps1" data-transport="native">View Native Script</a> · <a href="~/run-actions/5b36042b10dd61f92560cda7/docker.ps1" data-transport="docker">View Docker Script</a></div>
<!-- docfx-run-actions:end -->
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,22 @@ example:
The following example demonstrates how to customize the delimiters used when parsing authorization header credentials.

```csharp
// Program.cs
using System;
using Cuemon.AspNetCore.Authentication;

namespace MyApp.Examples;

public static class AuthorizationHeaderOptionsExample
var options = new AuthorizationHeaderOptions
{
public static void Demonstrate()
{
var options = new AuthorizationHeaderOptions
{
CredentialsDelimiter = ", ",
CredentialsKeyValueDelimiter = "="
};

options.ValidateOptions();
CredentialsDelimiter = ", ",
CredentialsKeyValueDelimiter = "="
};

Console.WriteLine(options.CredentialsDelimiter);
Console.WriteLine(options.CredentialsKeyValueDelimiter);
}
}
options.ValidateOptions();

Console.WriteLine(options.CredentialsDelimiter);
Console.WriteLine(options.CredentialsKeyValueDelimiter);
```

<!-- docfx-run-actions:start -->
<div class="docfx-run-actions" data-example-id="5a89a4022884f3554e64af50"><a href="~/run-actions/5a89a4022884f3554e64af50/native.ps1" data-transport="native">View Native Script</a> · <a href="~/run-actions/5a89a4022884f3554e64af50/docker.ps1" data-transport="docker">View Docker Script</a></div>
<!-- docfx-run-actions:end -->
Loading
Loading