consts

package
v0.8.15 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2024 License: Apache-2.0 Imports: 0 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// const keys used to pass values from gRPC methods to http mux interface
	SessionIDGatewayKey     = "gateway-session-id"
	SessionDeleteGatewayKey = "gateway-session-delete"
	UserTokenGatewayKey     = "gateway-user-token"
	LocationGatewayKey      = "gateway-location"
	UserSecretGatewayKey    = "gateway-user-secret"

	// UserTokenRequestKey is returned from the application to client containing user details in
	// response headers
	UserTokenRequestKey = "x-user-token"

	// LocationRequestKey is used to set location response header for redirecting browser
	LocationRequestKey = "location"

	// ProjectRequestKey is used to set current project in jwt token
	ProjectRequestKey = "x-project"

	// SessionRequestKey is the key to store session value in browser
	SessionRequestKey = "sid"
)

Variables

View Source
var (
	// AuthenticatedPrincipalContextKey is context key that contains the principal object
	AuthenticatedPrincipalContextKey = contextKey{/* contains filtered or unexported fields */}

	AuditActorContextKey    = contextKey{/* contains filtered or unexported fields */}
	AuditMetadataContextKey = contextKey{/* contains filtered or unexported fields */}
	AuditServiceContextKey  = contextKey{/* contains filtered or unexported fields */}
)

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