Versions in this module Expand all Collapse all v3 v3.0.1 Feb 23, 2021 Changes in this version + const Prefix + type Config struct + ClientID apiv1.SecretKeySelector + ClientSecret apiv1.SecretKeySelector + Issuer string + RBAC *rbac.Config + RedirectURL string + Scopes []string + SessionExpiry metav1.Duration + func (c Config) GetSessionExpiry() time.Duration + type Interface interface + Authorize func(authorization string) (*types.Claims, error) + HandleCallback func(writer http.ResponseWriter, request *http.Request) + HandleRedirect func(writer http.ResponseWriter, request *http.Request) + IsRBACEnabled func() bool + var NullSSO Interface = nullService{} + func New(c Config, secretsIf corev1.SecretInterface, baseHRef string, secure bool) (Interface, error)