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

oauthlib / oauthlib / 15165802654

21 May 2025 03:07PM UTC coverage: 92.992%. Remained the same
15165802654

Pull #901

github

web-flow
Merge efbcfd8e8 into dab6a5ae1
Pull Request #901: Fixed linter issue, renamed unittest folder to avoid name conflict

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