Documentation
¶
Index ¶
- Variables
- func HasScope(scopes []string, required string) bool
- func HasScopeOrDelegation(ctx context.Context, db *pgxpool.Pool, agent *AgentIdentity, ...) (bool, bool, error)
- func LogAuthEvent(ctx context.Context, db *pgxpool.Pool, ...)
- func LogAuthFailure(ctx context.Context, db *pgxpool.Pool, ...)
- type AgentIdentity
- type DelegationContext
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func HasScopeOrDelegation ¶
func HasScopeOrDelegation(ctx context.Context, db *pgxpool.Pool, agent *AgentIdentity, requiredScope string, dctx DelegationContext) (bool, bool, error)
func LogAuthEvent ¶
Types ¶
type AgentIdentity ¶
func AuthenticateAgentBearer ¶
type DelegationContext ¶
Click to show internal directories.
Click to hide internal directories.