Method ValidateAsync(string, CancellationToken)
Validate a raw API key. Returns the matching if valid, null otherwise.
Uses cache + constant-time comparison.
public Task<ApiKeyRecord?> ValidateAsync(string rawKey, CancellationToken ct = default)
Validate a raw API key. Returns the matching if valid, null otherwise.
Uses cache + constant-time comparison.
public Task<ApiKeyRecord?> ValidateAsync(string rawKey, CancellationToken ct = default)