Class FederationProviderSecretProtector
H8 (DoD §4 gap (e)): encrypts/decrypts federation provider client secrets at rest
using ASP.NET DataProtection. Mirrors in shape;
distinct purpose string keeps key isolation between unrelated subsystems.
public sealed class FederationProviderSecretProtector
Inheritance
Methods
Protect(string?)
Encrypts a plaintext secret. Returns null when input is null/empty.
public string? Protect(string? plainSecret)
Unprotect(string?)
Decrypts a protected secret. Returns null on failure (rotated/lost keys).
public string? Unprotect(string? protectedSecret)