from abc import ABC, abstractmethod
[docs]
class AuthToken:
"""
Internal Class to hold the credential's access token and expiry time
"""
def __init__(self):
self.token = None
self.expires_on = None
[docs]
class BaseAuthCredential(ABC):
[docs]
@abstractmethod
def get_token(self) -> AuthToken:
pass