constant

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	COOKIE_NAME_JWT = "com.github.MuXiu1997.traefik-github-oauth-plugin.jwt"

	ROUTER_PATH_OAUTH_HEALTH = "health"

	ROUTER_GROUP_PATH_OAUTH    = "oauth"
	ROUTER_PATH_OAUTH_PAGE_URL = "page-url"
	ROUTER_PATH_OAUTH_REDIRECT = "redirect"
	ROUTER_PATH_OAUTH_RESULT   = "result"

	QUERY_KEY_REDIRECT_URI = "redirect_uri"
	QUERY_KEY_REQUEST_ID   = "rid"

	HTTP_HEADER_AUTHORIZATION = "Authorization"
	HTTP_HEADER_CACHE_CONTROL = "Cache-Control"
	HTTP_HEADER_PRAGMA        = "Pragma"
	HTTP_HEADER_EXPIRES       = "Expires"

	AUTHORIZATION_PREFIX_TOKEN = "token"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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