Module pyfreedb.providers.google.auth.base

Classes

class GoogleAuthClient

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

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

Ancestors

  • abc.ABC

Subclasses

Methods

def credentials(self) ‑> Union[google.oauth2.credentials.Credentials, google.oauth2.service_account.Credentials]