ISignedMetadataProvider Interface
Produces the RFC 8414 §2.1 signed_metadata value for a discovery document.
public interface ISignedMetadataProviderDerived
↳ SignedMetadataProvider
Remarks
Lives in the core rather than in an adapter because the value is a property of the metadata, not of the framework that serves it: both the MVC and the Minimal API adapters assemble the same ConfigurationResponse and owe their clients the same signature over it.
Methods
ISignedMetadataProvider.SignAsync(ConfigurationResponse) Method
Signs metadata and returns the compact JWS.
System.Threading.Tasks.Task<string> SignAsync(Abblix.Oidc.Server.Model.ConfigurationResponse metadata);Parameters
metadata ConfigurationResponse
The fully assembled metadata, including resolved endpoint URLs and any mTLS aliases, and without
signed_metadata itself: RFC 8414 §2.1 has the bundle assert the metadata, not restate its own
signature.
Returns
System.Threading.Tasks.Task<System.String>
The compact-serialized JWS.