Documentation
¶
Overview ¶
Package oauth2 provides the partitioned OAuth2 identity provider used by gateway tests. client_credentials and password grants issue an opaque "mock-token-N-issued-TS" string; token-exchange and jwt-bearer instead issue a real RS256-signed JWT, verifiable against this service's own GET /jwks.
Index ¶
Constants ¶
View Source
const Port = 3011
Port is the container port used by the testbench.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service implements testbench.Service and testbench.Partitioned.
func (*Service) PartitionKey ¶
PartitionKey returns the partitioning strategy used by this service.
Click to show internal directories.
Click to hide internal directories.