Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HatchetAuthorizer ¶
type HatchetAuthorizer struct {
// contains filtered or unexported fields
}
func NewHatchetAuthorizer ¶
func NewHatchetAuthorizer(config *temporal.Config, authCfg *config.Authorization, logger log.Logger) *HatchetAuthorizer
func (*HatchetAuthorizer) Authorize ¶
func (a *HatchetAuthorizer) Authorize(_ context.Context, claims *authorization.Claims, target *authorization.CallTarget) (authorization.Result, error)
func (*HatchetAuthorizer) GetClaims ¶
func (a *HatchetAuthorizer) GetClaims(authInfo *authorization.AuthInfo) (*authorization.Claims, error)
type TemporalTokenKind ¶
type TemporalTokenKind string
const ( TemporalTokenKindInternal TemporalTokenKind = "internal" TemporalTokenKindWorker TemporalTokenKind = "worker" )
Click to show internal directories.
Click to hide internal directories.