Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertificateAuthorizer ¶
type CertificateAuthorizer struct {
// contains filtered or unexported fields
}
func NewCertificateAuthorizer ¶
func NewCertificateAuthorizer(config *temporal.Config, authCfg *config.Authorization, logger log.Logger) *CertificateAuthorizer
func (*CertificateAuthorizer) Authorize ¶
func (a *CertificateAuthorizer) Authorize(_ context.Context, claims *authorization.Claims, target *authorization.CallTarget, ) (authorization.Result, error)
Authorize allows all internal-admin and internal-worker requests. This should not be used in production!
func (*CertificateAuthorizer) GetClaims ¶
func (a *CertificateAuthorizer) GetClaims(authInfo *authorization.AuthInfo) (*authorization.Claims, error)
Click to show internal directories.
Click to hide internal directories.