Documentation
¶
Overview ¶
Package dcr implements the OAuth 2.0 Dynamic Client Registration plugin.
It handles POST /register (RFC 7591 §3), allowing clients to register themselves dynamically with the authorization server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Store storm.DCRStore
AllowPrivateIPs bool
SkipTLSCertVerify bool
EndpointResolver shared.EndpointResolver
}
Config holds the dependencies for the DCR plugin.
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
Plugin implements the Dynamic Client Registration endpoint.
func (*Plugin) Contribute ¶
func (p *Plugin) Contribute(ctx context.Context, cfg *protocol.DiscoveryConfiguration)
Contribute returns the discovery fields for the registration endpoint.
Click to show internal directories.
Click to hide internal directories.