(server)
| 28 | |
| 29 | @pytest.fixture(autouse=True) |
| 30 | def server(server): |
| 31 | class AuthorizationCodeGrant(CodeGrantMixin, _AuthorizationCodeGrant): |
| 32 | TOKEN_ENDPOINT_AUTH_METHODS = [ |
| 33 | "client_secret_basic", |
| 34 | "client_secret_post", |
| 35 | "none", |
| 36 | ] |
| 37 | |
| 38 | def save_authorization_code(self, code, request): |
| 39 | return save_authorization_code(code, request) |
| 40 | |
| 41 | server.register_grant(AuthorizationCodeGrant) |
| 42 | return server |
| 43 | |
| 44 | |
| 45 | @pytest.fixture(autouse=True) |
nothing calls this directly
no test coverage detected