Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ZitadelAuth ¶
type ZitadelAuth struct {
Domain string // Zitadel instance domain
Key string // path to key.json
AuthZ *authorization.Authorizer[*oauth.IntrospectionContext]
}
func NewZitadelAuth ¶
func NewZitadelAuth(conf config.Config) ZitadelAuth
func (*ZitadelAuth) AllowAnyOfRoles ¶
func (*ZitadelAuth) AllowAuthenticated ¶
func (za *ZitadelAuth) AllowAuthenticated(next http.Handler) http.Handler
Click to show internal directories.
Click to hide internal directories.