paths

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 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

View Source
const WellknownOpenIDFederation = "/.well-known/openid-federation"

WellknownOpenIDFederation is the openid federation 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
	ProfilesEndpoint      string
	GuestModeOP           string
	NotificationEndpoint  string
	CalendarEndpoint      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
	FederationEndpoint             string
	OIDCRedirectEndpoint           string
	JWKSEndpoint                   string
	ConsentEndpoint                string
	Privacy                        string
	CalendarEndpoint               string
	ActionsEndpoint                string
	NotificationManagementEndpoint 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