discovery

package
v0.0.24 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package discovery implements the OAuth 2.0 Authorization Server Metadata.

See https://tools.ietf.org/html/rfc8414

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IssuerURL

func IssuerURL(issuer string) (string, error)

IssuerURL returns the issuer URL with no trialing slash, an error is returned if the URL is not valid.

func WellKnownURI

func WellKnownURI(identifier, name string) string

WellKnownURI returns a ".well-known" location for the registered name.

The registry of valid "name" values can be found at https://www.iana.org/assignments/well-known-uris/well-known-uris.xhtml

Types

This section is empty.

Jump to

Keyboard shortcuts

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