routes

package
v0.6.1-b Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

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

WellknownMytokenConfiguration is the mytoken configuration path suffix

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

WellknownOpenIDConfiguration is the openid configuration path suffix

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