(ctx context.Context)
| 908 | } |
| 909 | |
| 910 | func GetAuthzCheckRecorder(ctx context.Context) (*AuthzCheckRecorder, bool) { |
| 911 | checks, ok := ctx.Value(authzCheckRecorderKey{}).(*AuthzCheckRecorder) |
| 912 | if !ok { |
| 913 | return nil, false |
| 914 | } |
| 915 | |
| 916 | return checks, true |
| 917 | } |
| 918 | |
| 919 | // String serializes all of the checks recorded, using the following syntax: |
| 920 | func (r *AuthzCheckRecorder) String() string { |
no test coverage detected