Module pyfreedb.providers.google.auth.base

Classes

class GoogleAuthClient
Expand source code
class GoogleAuthClient(abc.ABC):
    """An abstraction layer that represents way to authenticate with Google APIs."""

    @abc.abstractmethod
    def credentials(self) -> Union[credentials.Credentials, service_account.Credentials]:
        pass

An abstraction layer that represents way to authenticate with Google APIs.

Ancestors

  • abc.ABC

Subclasses

Methods

def credentials(self) ‑> google.oauth2.credentials.Credentials | google.oauth2.service_account.Credentials
Expand source code
@abc.abstractmethod
def credentials(self) -> Union[credentials.Credentials, service_account.Credentials]:
    pass