types

package
v0.2.11 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2022 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KeyRole     = "api"
	KeyUsers    = "users"
	KeySessions = "sessions"
	KeyTokens   = "tokens"
)
View Source
const (
	SessionKeyUser      = "user"
	SessionKeyOIDCState = "oidc_state"
	SessionKeyDirty     = "dirty"
)
View Source
const (
	EventTopicAPIMuxSetup = "roles.api.mux.setup"
)
View Source
const SessionName = "gravity_session"

Variables

This section is empty.

Functions

This section is empty.

Types

type OIDCConfig

type OIDCConfig struct {
	ClientID     string   `json:"clientID"`
	ClientSecret string   `json:"clientSecret"`
	Issuer       string   `json:"issuer"`
	RedirectURL  string   `json:"redirectURL"`
	Scopes       []string `json:"scopes"`
}

type RequestContextValue

type RequestContextValue string
const RequestSession RequestContextValue = "session"

Jump to

Keyboard shortcuts

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