Add the device authorization endpoint #156
Annotations
8 errors
Ruff (SIM401):
oauthlib/common.py#L319
oauthlib/common.py:319:16: SIM401 Use `self.get(k, default)` instead of an `if` block
|
Ruff (SIM910):
oauthlib/oauth2/rfc6749/parameters.py#L276
oauthlib/oauth2/rfc6749/parameters.py:276:18: SIM910 Use `params.get('state')` instead of `params.get('state', None)`
|
Ruff (SIM910):
oauthlib/oauth2/rfc6749/parameters.py#L349
oauthlib/oauth2/rfc6749/parameters.py:349:18: SIM910 Use `params.get('state')` instead of `params.get('state', None)`
|
Ruff (RUF019):
oauthlib/oauth2/rfc6749/tokens.py#L27
oauthlib/oauth2/rfc6749/tokens.py:27:12: RUF019 Unnecessary key check before dictionary access
|
Ruff (SIM910):
oauthlib/openid/connect/core/grant_types/dispatchers.py#L83
oauthlib/openid/connect/core/grant_types/dispatchers.py:83:21: SIM910 Use `parameters.get('client_id')` instead of `parameters.get('client_id', None)`
|
Ruff (SIM910):
oauthlib/openid/connect/core/grant_types/dispatchers.py#L84
oauthlib/openid/connect/core/grant_types/dispatchers.py:84:16: SIM910 Use `parameters.get('code')` instead of `parameters.get('code', None)`
|
Ruff (SIM910):
oauthlib/openid/connect/core/grant_types/dispatchers.py#L85
oauthlib/openid/connect/core/grant_types/dispatchers.py:85:24: SIM910 Use `parameters.get('redirect_uri')` instead of `parameters.get('redirect_uri', None)`
|
lint_python
Process completed with exit code 1.
|