Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultProvider = NewProvider()
Functions ¶
Types ¶
type ClientConfig ¶
type DiscoveryClient ¶
type DiscoveryClient struct { Cache *OIDCCache // contains filtered or unexported fields }
func NewDiscoveryClient ¶
func NewDiscoveryClient() *DiscoveryClient
func (*DiscoveryClient) GetDiscoveryRoot ¶
func (dc *DiscoveryClient) GetDiscoveryRoot(issuer string) (*DiscoveryResponse, error)
type DiscoveryResponse ¶
type OIDCCache ¶
type OIDCCache struct {
// contains filtered or unexported fields
}
func NewOIDCCache ¶
func NewOIDCCache() *OIDCCache
func (*OIDCCache) GetResponse ¶
func (dc *OIDCCache) GetResponse(issuer string) *DiscoveryResponse
func (*OIDCCache) StoreResponse ¶
func (dc *OIDCCache) StoreResponse(response DiscoveryResponse)
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
func NewProvider ¶
func NewProvider() *Provider
func (*Provider) VerifyToken ¶
type ProviderInterface ¶
Click to show internal directories.
Click to hide internal directories.