package
0.0.0-20241217200950-e77bea9c52fc
Repository: https://chromium.googlesource.com/infra/luci/luci-go
Documentation: pkg.go.dev

# Functions

InspectToken returns information about the delegation token.
NewRulesCache properly initializes RulesCache instance.
NewTokenLogger returns a callback that records info about tokens to BigQuery.
SignToken signs and serializes the delegation subtoken.

# Constants

Projects is a magical token that can be used in allowed_to_impersonate to indicate that the caller can impersonate "project:*" identities.
Requestor is magical token that may be used in the config and requests as a substitute for caller's ID.

# Variables

GlobalRulesCache is the process-wide rules cache.

# Structs

ImportDelegationConfigsRPC implements Admin.ImportDelegationConfigs method.
InspectDelegationTokenRPC implements Admin.InspectDelegationToken RPC method.
MintDelegationTokenRPC implements TokenMinter.MintDelegationToken RPC method.
MintedTokenInfo is passed to LogToken.
Rules is queryable representation of delegation.cfg rules.
RulesCache is a stateful object with parsed delegation.cfg rules.
RulesQuery contains parameters to match against the delegation rules.

# Type aliases

TokenLogger records info about the token to BigQuery.