oauth

package
v0.0.0-...-a00f5ff Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2025 License: MIT Imports: 6 Imported by: 3

Documentation

Index

Constants

View Source
const (
	WellKnownOAuthPath  = "/.well-known/oauth-authorization-server"
	WellKnownOpenIDPath = "/.well-known/openid-configuration"
)

Variables

This section is empty.

Functions

func Metadata

func Metadata(wellKnownUrl string) *metadata

Types

type MetadataCommon

type MetadataCommon struct {
	Issuer        string `json:"issuer"`
	JwksURI       string `json:"jwks_uri"`
	TokenEndpoint string `json:"token_endpoint"`
}

type MetadataOAuth

type MetadataOAuth struct {
	MetadataCommon
}

type MetadataOpenID

type MetadataOpenID struct {
	MetadataCommon
}

Jump to

Keyboard shortcuts

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