(conn: HTTPConnection, scopes: Sequence[str])
| 16 | |
| 17 | |
| 18 | def has_required_scope(conn: HTTPConnection, scopes: Sequence[str]) -> bool: |
| 19 | for scope in scopes: |
| 20 | if scope not in conn.auth.scopes: |
| 21 | return False |
| 22 | return True |
| 23 | |
| 24 | |
| 25 | def requires( |
no outgoing calls
no test coverage detected