Documentation
¶
Overview ¶
Package oidcserver provides a minimal mock OIDC server for e2e testing. It implements three endpoints:
- /.well-known/openid-configuration (discovery)
- /jwks (JSON Web Key Set)
- /token (client_credentials grant)
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*Server)
func WithAudience ¶
func WithBindPort ¶
func WithClientCredentials ¶
func WithExpiresIn ¶
func WithSubject ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) TokenEndpoint ¶
func (*Server) TokenRequestCount ¶
TokenRequestCount returns the number of successful token requests served.
Click to show internal directories.
Click to hide internal directories.