routes

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIPaths

type APIPaths struct {
	SuperTokenEndpoint    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
	NativeRedirectEndpoint 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