routes

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const WellknownMytokenConfiguration = "/.well-known/mytoken-configuration"
View Source
const WellknownOpenIDConfiguration = "/.well-known/openid-configuration"

Variables

This section is empty.

Functions

This section is empty.

Types

type APIPaths

type APIPaths struct {
	MytokenEndpoint       string
	AccessTokenEndpoint   string
	TokenInfoEndpoint     string
	RevocationEndpoint    string
	TokenTransferEndpoint string
	UserSettingEndpoint   string
}

APIPaths holds all api route paths

func GetAPIPaths

func GetAPIPaths(apiVersion int) APIPaths

GetAPIPaths returns the api paths for the passed major version

func GetCurrentAPIPaths

func GetCurrentAPIPaths() APIPaths

GetCurrentAPIPaths returns the api paths for the most recent major version

type GeneralPaths

type GeneralPaths struct {
	ConfigurationEndpoint string
	OIDCRedirectEndpoint  string
	JWKSEndpoint          string
	ConsentEndpoint       string
	Privacy               string
}

GeneralPaths holds all non-api route paths

func GetGeneralPaths

func GetGeneralPaths() GeneralPaths

GetGeneralPaths returns the non-API paths

Jump to

Keyboard shortcuts

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