Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientImpl ¶
type ClientImpl struct { api.LegacyClient // contains filtered or unexported fields }
Client provides a fulcio client with helpful options for configuring OIDC flows.
func NewClient ¶
func NewClient(fulcioURL string, opts OIDCOptions) (*ClientImpl, error)
func (*ClientImpl) GetCert ¶
func (c *ClientImpl) GetCert(priv crypto.Signer) (*api.CertificateResponse, error)
GetCert exchanges the given private key for a Fulcio certificate.
type OIDCOptions ¶
type OIDCOptions struct { Issuer string ClientID string ClientSecret string RedirectURL string TokenGetter oauthflow.TokenGetter }
OIDCOptions contains settings for OIDC operations.
Click to show internal directories.
Click to hide internal directories.