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

oauthlib / oauthlib / 13152208889

05 Feb 2025 07:19AM UTC coverage: 92.992% (-0.03%) from 93.018%
13152208889

Pull #893

github

web-flow
Merge 8129c175d into 028a8f188
Pull Request #893: Remove code verifier regex

965 of 1071 branches covered (90.1%)

Branch coverage included in aggregate %.

3082 of 3281 relevant lines covered (93.93%)

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