Documentation
¶
Overview ¶
Package handler defines the gRPC endpoint handlers for the Authorization service.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authorization ¶
type Authorization struct { *Config *micro.Service // contains filtered or unexported fields }
Authorization defines the Authorization service.
func New ¶
func New(conf *Config, service *micro.Service) (*Authorization, error)
New creates a new instance of the Authorization service handlers.
func (*Authorization) Invalidate ¶
Invalidate inserts a record of a token's ID and expiration date into the list of manually invalidated tokens.
Click to show internal directories.
Click to hide internal directories.