• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

oauthlib / oauthlib / 15726200358

18 Jun 2025 07:06AM UTC coverage: 92.839%. Remained the same
15726200358

Pull #905

github

web-flow
Create codeql.yml for vulnerability check
Pull Request #905: Create codeql.yml for vulnerability check

977 of 1087 branches covered (89.88%)

Branch coverage included in aggregate %.

3107 of 3312 relevant lines covered (93.81%)

5.61 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

75.0
/oauthlib/oauth2/rfc8628/request_validator.py
1
from oauthlib.oauth2 import RequestValidator as OAuth2RequestValidator
6✔
2

3

4
class RequestValidator(OAuth2RequestValidator):
6✔
5
    def client_authentication_required(self, request, *args, **kwargs):
6✔
6
        """Determine if client authentication is required for current request.
7

8
        According to the rfc8628, client authentication is required in the following cases:
9
            - Device Authorization Request follows the, the client authentication requirements
10
              of Section 3.2.1 of [RFC6749] apply to requests on this endpoint, which means that
11
              confidential clients (those that have established client credentials) authenticate
12
              in the same manner as when making requests to the token endpoint, and
13
              public clients provide the "client_id" parameter to identify themselves,
14
              see `Section 3.1`_.
15

16
        :param request: OAuthlib request.
17
        :type request: oauthlib.common.Request
18
        :rtype: True or False
19

20
        Method is used by:
21
            - Device Authorization Request
22

23
        .. _`Section 3.1`: https://www.rfc-editor.org/rfc/rfc8628#section-3.1
24
        """
25
        return True
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc