oauthdiscovery

package
v0.44.1 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 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