Interface IOidcTokenProvider
Provides OIDC tokens for Sigstore keyless signing.
public interface IOidcTokenProvider
Properties
IsAvailable
Whether this provider can supply a token in the current environment.
bool IsAvailable { get; }
Property Value
Methods
GetTokenAsync(string, CancellationToken)
Returns an OIDC token for the specified audience.
Task<string> GetTokenAsync(string audience, CancellationToken cancellationToken)
Parameters
audiencestringOIDC audience (e.g. "sigstore").
cancellationTokenCancellationTokenCancellation token.