Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interceptor ¶
type Interceptor[T authorization.Ctx] struct { // contains filtered or unexported fields }
func NewZitadelGin ¶
func NewZitadelGin[T authorization.Ctx](authorizer *authorization.Authorizer[T]) *Interceptor[T]
func (*Interceptor[T]) Context ¶
func (i *Interceptor[T]) Context(ctx context.Context) T
func (*Interceptor[T]) RequireAuthorization ¶
func (i *Interceptor[T]) RequireAuthorization(options ...authorization.CheckOption) gin.HandlerFunc
Click to show internal directories.
Click to hide internal directories.