abacusai.cloudflare_oauth_result

Classes

CloudflareOauthResult

Outcome of a Cloudflare OAuth flow once Cloudflare sends the user back

Module Contents

class abacusai.cloudflare_oauth_result.CloudflareOauthResult(client, webAppDomainId=None, hostname=None, returnUrl=None, success=None, errorCode=None)

Bases: abacusai.return_class.AbstractApiClass

Outcome of a Cloudflare OAuth flow once Cloudflare sends the user back

Parameters:
  • client (ApiClient) – An authenticated API Client instance

  • webAppDomainId (id) – The ID of the web app domain

  • hostname (str) – The domain that was configured

  • returnUrl (str) – Where the user started the flow

  • success (bool) – Whether the records were written

  • errorCode (str) – A generic failure code when success is false

web_app_domain_id = None
hostname = None
return_url = None
success = None
error_code = None
deprecated_keys
__repr__()
to_dict()

Get a dict representation of the parameters in this class

Returns:

The dict value representation of the class parameters

Return type:

dict