Documentation ¶
Index ¶
Constants ¶
View Source
const ( AuthorizationHeaderKey = "Authorization" JwksKeyIDKey = "kid" )
Variables ¶
This section is empty.
Functions ¶
func PrefixScopes ¶
Types ¶
type Authenticator ¶
type Authenticator struct {
// contains filtered or unexported fields
}
func New ¶
func New(jwksEndpoints []string, zoneId, subscriptionCallbacksScope string, trustedClaimPrefixes []string, allowJWTSigningNone bool) *Authenticator
func (*Authenticator) Handler ¶
func (a *Authenticator) Handler() func(next http.Handler) http.Handler
func (*Authenticator) SetJWKSEndpoints ¶
func (a *Authenticator) SetJWKSEndpoints(urls []string)
func (*Authenticator) SynchronizeJWKS ¶
func (a *Authenticator) SynchronizeJWKS(ctx context.Context) error
Click to show internal directories.
Click to hide internal directories.