flask_oauthlib/provider/oauth2.py
def authenticate_client_id(self, client_id, request, *args, **kwargs):
        """Authenticate a non-confidential client.

        :param client_id: Client ID of the non-confidential client
        :param request: The Request object passed by oauthlib
        """
        if client_id is None:
            client_id, _ = self._get_client_creds_from_request(request)

        log.debug('Authenticate client %r.', client_id)
        client = request.client or self._clientgetter(client_id)
        if not client:
            log.debug('Authenticate failed, client not found.')
            return False

        # attach client on request for convenience
        request.client = client
        return True
def authenticate_client_id(self, client_id, request, *args, **kwargs):
        if client_id is None:
            client_id, _ = self._get_client_creds_from_request(request)

        log.debug('Authenticate client %r.', client_id)
        client = request.client or self._clientgetter(client_id)
        if not client:
            log.debug('Authenticate failed, client not found.')
            return False

        # attach client on request for convenience
        request.client = client
        return True
def authenticate_client_id ( self , client_id , request , * args , * * kwargs ) : if client_id is None : client_id , _ = self . _get_client_creds_from_request ( request ) log . debug ( 'Authenticate client %r.' , client_id ) client = request . client or self . _clientgetter ( client_id ) if not client : log . debug ( 'Authenticate failed, client not found.' ) return False # attach client on request for convenience request . client = client return True
Authenticate a non-confidential client.

        :param client_id: Client ID of the non-confidential client
        :param request: The Request object passed by oauthlib
Authenticate a non - confidential client .