Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authorizer ¶
Authorizer decides whether a worker API request is authorized.
func BearerTokenAuthorizer ¶
func BearerTokenAuthorizer(tokens [][]byte) Authorizer
BearerTokenAuthorizer validates gRPC metadata Authorization headers. Expected format: "Authorization: Bearer <token>".
Click to show internal directories.
Click to hide internal directories.