@staticmethod
def get_tokens_data(code: str, redirect_uri: str) ->dict:
    """
            Data with code from OAuth2.0 authentication
            that should be sent to get tokens.
        """
    return {'code': code, 'redirect_uri': redirect_uri, 'grant_type':
        'authorization_code'}
