Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientCredentialsTokenProvider ¶
type ClientCredentialsTokenProvider struct {
// contains filtered or unexported fields
}
ClientCredentialsTokenProvider implements the standard OAuth2 client credentials flow.
func (*ClientCredentialsTokenProvider) FetchToken ¶
FetchToken gets the client secret from the secret reference and fetches the token from the provider token URL.
This implements [TokenProvider.FetchToken].
type OIDCProvider ¶
type OIDCProvider struct {
// contains filtered or unexported fields
}
OIDCProvider extends ClientCredentialsTokenProvider with OIDC support.
func NewOIDCProvider ¶
func NewOIDCProvider(client client.Client, oidcConfig egv1a1.OIDC) *OIDCProvider
NewOIDCProvider creates a new OIDC-aware provider.
func (*OIDCProvider) FetchToken ¶
FetchToken retrieves and validates tokens using the client credentials flow with OIDC support.
This implements [TokenProvider.FetchToken].
Click to show internal directories.
Click to hide internal directories.