AsSystemOAuth2 returns a context with an actor that has permissions required for OAuth2 provider operations (token revocation, device codes, registration).
(ctx context.Context)
| 811 | // AsSystemOAuth2 returns a context with an actor that has permissions |
| 812 | // required for OAuth2 provider operations (token revocation, device codes, registration). |
| 813 | func AsSystemOAuth2(ctx context.Context) context.Context { |
| 814 | return As(ctx, subjectSystemOAuth2) |
| 815 | } |
| 816 | |
| 817 | // AsSystemReadProvisionerDaemons returns a context with an actor that has permissions |
| 818 | // to read provisioner daemons. |
no test coverage detected