xia_api.auth_client.AuthClient

class xia_api.auth_client.AuthClient(api_root: str = 'https://auth.x-i-a.com/api/', app_name: str = 'xia-auth')

Bases: object

__init__(api_root: str = 'https://auth.x-i-a.com/api/', app_name: str = 'xia-auth')

Methods

__init__([api_root, app_name])

get_api_acl(api_key[, api_id])

Get Access Control List of API

get_api_acl(api_key: str, api_id: str = '')

Get Access Control List of API

Parameters
  • api_key – API Key

  • api_id – API ID

Returns

API Detail or Error Message