oauth2_client/fetcher.py
def fetch_raw_token(self):
        """
        Fetch token using Client Credentials Flow

        Returns:
            dict: raw token from provider
        """
        client = BackendApplicationClient(client_id=self.app.client_id)
        oauth = OAuth2Session(client=client)
        return oauth.fetch_token(
            token_url=self.app.token_uri,
            client_id=self.app.client_id,
            client_secret=self.app.client_secret,
            scope=self.requested_scope()
        )

        Fetch token using Client Credentials Flow

        Returns:
            dict: raw token from provider
        
Fetch token using Client Credentials Flow
Fetch token using Client Credentials Flow
def fetch_raw_token(self):
        client = BackendApplicationClient(client_id=self.app.client_id)
        oauth = OAuth2Session(client=client)
        return oauth.fetch_token(
            token_url=self.app.token_uri,
            client_id=self.app.client_id,
            client_secret=self.app.client_secret,
            scope=self.requested_scope()
        )
def fetch_raw_token ( self ) : client = BackendApplicationClient ( client_id = self . app . client_id ) oauth = OAuth2Session ( client = client ) return oauth . fetch_token ( token_url = self . app . token_uri , client_id = self . app . client_id , client_secret = self . app . client_secret , scope = self . requested_scope ( ) )
Fetch token using Client Credentials Flow
Fetch token using Client Credentials Flow
"""
        Fetch token using Client Credentials Flow

        Returns:
            dict: raw token from provider
        """
raw token from provider
raw token from provider
dict
self