Authorizer is an implementation of security.Authorizer for OAuth2 it uses introspection to get user data and can check the scope
| 13 | // Authorizer is an implementation of security.Authorizer for OAuth2 |
| 14 | // it uses introspection to get user data and can check the scope |
| 15 | type Authorizer struct { |
| 16 | introspection TokenIntrospecter |
| 17 | scope Scope |
| 18 | config *Config |
| 19 | } |
| 20 | |
| 21 | // Flow is a part of the OAuth2 config from the security schema |
| 22 | type Flow struct { |
nothing calls this directly
no outgoing calls
no test coverage detected