discovery

package
v0.0.0-...-5df0669 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var InvalidJSONErr = errors.New("invalid JSON was returned")
View Source
var NotFoundErr = errors.New("discovery document not found")

Functions

func BuildDiscoveryUrl

func BuildDiscoveryUrl(issuer string, well_known string) (string, error)

func FetchDiscovery

func FetchDiscovery(discoveryUrl string) (string, error)

func ParseMetaData

func ParseMetaData(data string) (map[string]any, error)

func ValidateIssuer

func ValidateIssuer(issuer string) (*url.URL, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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