Versions in this module Expand all Collapse all v0 v0.1.8 Mar 30, 2022 v0.1.7 Sep 17, 2021 Changes in this version type Config + Scopes []string v0.1.6 Mar 6, 2021 Changes in this version + type Client struct + func New(config *Config) (*Client, error) + func (c *Client) CheckRefresh(tok *oauth2.Token) (*oauth2.Token, error) + func (c *Client) CreateOIDCRequest(state, scope string) string + func (c *Client) GetIDTokenClaims(reqContext context.Context, code string) ([]byte, error) + func (c *Client) HandleOIDCCallback(reqContext context.Context, code string) (*oauth2.Token, *oidc.IDToken, error) + type Config struct + OIDCCallbackURL string + OIDCClientID string + OIDCClientSecret string + OIDCClientSecretExpiry int + OIDCProviderURL string + TLSConfig *tls.Config