types

package
v0.6.18 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2023 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