Documentation
¶
Index ¶
Constants ¶
View Source
const ( // AccessCheckSubject is the subject used for access control checks AccessCheckSubject = "lfx.access_check.request" // ReadTuplesSubject is the subject used for reading FGA tuples ReadTuplesSubject = "lfx.access_check.read_tuples" // AnonymousPrincipal is the identifier for anonymous users AnonymousPrincipal = `_anonymous` // PrincipalAttribute is the attribute used to indicate the principal in the logging context PrincipalAttribute = "principal" // NonceSize is the size of the number used for nonce generation NonceSize = 24 )
View Source
const ( // RequestIDHeader is the header name for the request ID RequestIDHeader requestIDHeaderType = "X-REQUEST-ID" // PrincipalContextID PrincipalContextID contextID = iota // AnonymousCacheControlHeader is the cache control header for anonymous users AnonymousCacheControlHeader = "public, max-age=300" )
View Source
const ( // DefaultPageSize is the default number of results per page for queries DefaultPageSize = 50 // MaxPageSize is the maximum allowed number of results per page MaxPageSize = 1000 // DefaultBucketSize is the default size of the bucket for queries DefaultBucketSize = 100 )
View Source
const (
// ServiceName is the name of the query service
ServiceName = "lfx-v2-query-service"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.