Documentation
¶
Overview ¶
Package anon identifies anonymous callers (trust center and questionnaire) from a request context. It depends only on the iam auth package so it can be imported by any layer - interceptors, schema mixins, privacy policy, hooks, and schemautil - without creating an import cycle
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsAnonymous ¶
IsAnonymous reports whether ctx carries any anonymous-role caller
func IsQuestionnaire ¶
IsQuestionnaire reports whether ctx carries an anonymous questionnaire caller
func IsTrustCenter ¶
IsTrustCenter reports whether ctx carries an anonymous trust center caller
func TrustCenterScope ¶
TrustCenterScope reports whether ctx carries an anonymous trust center caller A caller qualifies only when it has the anonymous role, holds CapTrustCenterAnonymous, and carries a non-empty active trust center id in context
Types ¶
This section is empty.