Method EnforceGlobalAsync(IRedbService, Dictionary<string, string>?, CancellationToken)

Assembly: redb.Identity.Core.dll

Validate incoming (may be null on create) against
every global . Returns a tuple:
normalized — the validated dict with defaults applied;
null on validation failure.errorMessage — null on success, error string on failure.

public static Task<(Dictionary<string, string>? normalized, string? errorMessage)> EnforceGlobalAsync(IRedbService redb, Dictionary<string, string>? incoming, CancellationToken ct = default)