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

box / box-python-sdk / 7583613459

19 Jan 2024 12:14PM UTC coverage: 93.536% (+0.005%) from 93.531%
7583613459

push

github

web-flow
fix: Update exception file get download URL (#866)

* fix: Update exception file get download URL

* fix: Update exception file get download URL

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

3473 of 3713 relevant lines covered (93.54%)

1.87 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
2✔
2

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

6

7
class RedisManagedJWTAuth(RedisManagedOAuth2Mixin, JWTAuth):
2✔
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]:
2✔
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