Documentation ¶
Index ¶
- func NewAuthenticator(verifier token.Verifier) *oidcAuthenticator
- type OidcContext
- func (c *OidcContext) GetProvider(ctx context.Context) *oidc.Provider
- func (c *OidcContext) GetProviderConfig(ctx context.Context) error
- func (c *OidcContext) GetVerifier(ctx context.Context) token.Verifier
- func (c *OidcContext) Init() error
- func (c *OidcContext) Oauth2Config(scopes []string) *oauth2.Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAuthenticator ¶
Types ¶
type OidcContext ¶
type OidcContext struct { IssuerURL string // contains filtered or unexported fields }
func NewOidcContext ¶
func (*OidcContext) GetProvider ¶
func (c *OidcContext) GetProvider(ctx context.Context) *oidc.Provider
func (*OidcContext) GetProviderConfig ¶
func (c *OidcContext) GetProviderConfig(ctx context.Context) error
func (*OidcContext) GetVerifier ¶
func (c *OidcContext) GetVerifier(ctx context.Context) token.Verifier
func (*OidcContext) Init ¶
func (c *OidcContext) Init() error
func (*OidcContext) Oauth2Config ¶
func (c *OidcContext) Oauth2Config(scopes []string) *oauth2.Config
Click to show internal directories.
Click to hide internal directories.