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

box / box-python-sdk / 5692856553

pending completion
5692856553

Pull #831

github

web-flow
Merge cd97b302f into 6efa3ecf8
Pull Request #831: fix: Fix JSON response validation retry strategy

8 of 8 new or added lines in 1 file covered. (100.0%)

3456 of 3695 relevant lines covered (93.53%)

0.94 hits per line

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

83.33
/boxsdk/auth/redis_managed_jwt_auth.py
1
from typing import Tuple
1✔
2

3
from .jwt_auth import JWTAuth
1✔
4
from .redis_managed_oauth2 import RedisManagedOAuth2Mixin
1✔
5

6

7
class RedisManagedJWTAuth(RedisManagedOAuth2Mixin, JWTAuth):
1✔
8
    """
9
    JWT Auth subclass which uses Redis to manage access tokens.
10
    """
11
    def _auth_with_jwt(self, sub: str, sub_type: str) -> Tuple[str, None]:
1✔
12
        """
13
        Base class override. Returns the access token in a tuple to match the OAuth2 interface.
14
        """
15
        return super()._authenticate(subject_id=sub, subject_type=sub_type), None
×
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