Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type STS ¶
type STS struct {
*STSService
// contains filtered or unexported fields
}
type STSService ¶
type STSService struct {
sts_proto.UnimplementedSTSServiceServer // TODO
authv3.UnimplementedAuthorizationServer
LookupServiceClient lookup_proto.LookupServiceClient
LookupConn *grpc.ClientConn
}
Service is the implementation of the STS service.
func NewSTSService ¶
func NewSTSService(cfg Config) (*STSService, error)
NewService creates a new STS service.
func (*STSService) Check ¶
func (s *STSService) Check(ctx context.Context, req *authv3.CheckRequest) (*authv3.CheckResponse, error)
Check performs authorization check for Envoy ext_authz filter.
func (*STSService) Health ¶
func (s *STSService) Health(ctx context.Context, in *sts_proto.HealthRequest) (*sts_proto.HealthResponse, error)
Health checks the health of the STS service and its dependencies.
Click to show internal directories.
Click to hide internal directories.