Help us shape the future of Go! Take the 2026 Go Developer Survey

oauthdiscovery

package
v0.44.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PerformDCR

func PerformDCR(ctx context.Context, discovery *Discovery, serverName string, redirectURI string) (*oauthhelpers.ClientCredentials, error)

func ValidateDiscovery

func ValidateDiscovery(ctx context.Context, discovery *Discovery) error

Types

type Discovery added in v0.44.1

type Discovery struct {
	oauthhelpers.Discovery
	RevocationEndpoint                     string
	RevocationEndpointAuthMethodsSupported []string
}

Discovery contains the standard OAuth discovery result plus metadata used for secure token lifecycle operations that is not represented by the oauth-helpers v0.0.3 Discovery type.

func DiscoverOAuthRequirements

func DiscoverOAuthRequirements(ctx context.Context, serverURL string) (*Discovery, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL