SDK ReferencePython SDK

AuthConfigs

Markdown

Methods

list()

Lists authentication configurations based on provided filter criteria.

def list(query: auth_config_list_params.AuthConfigListParams = ...) -> auth_config_list_response.AuthConfigListResponse

Parameters

NameType
query?auth_config_list_params.AuthConfigListParams

Returns

auth_config_list_response.AuthConfigListResponse


create()

Create a new auth config

def create(toolkit: str, options: auth_config_create_params.AuthConfig) -> auth_config_create_response.AuthConfig

Parameters

NameType
toolkitstr
optionsauth_config_create_params.AuthConfig

Returns

auth_config_create_response.AuthConfig — The created auth config.


get()

Retrieves a specific authentication configuration by its ID

def get(nanoid: str) -> auth_config_retrieve_response.AuthConfigRetrieveResponse

Parameters

NameType
nanoidstr

Returns

auth_config_retrieve_response.AuthConfigRetrieveResponse — The retrieved auth config.


update()

Updates an existing authentication configuration. This method allows you to modify properties of an auth config such as credentials, scopes, or tool restrictions. The update type (custom or default) determines which fields can be updated.

def update(nanoid: str, options: auth_config_update_params.AuthConfigUpdateParams) -> Dict

Parameters

NameType
nanoidstr
optionsauth_config_update_params.AuthConfigUpdateParams

Returns

Dict — The updated auth config.


delete()

Deletes an existing authentication configuration.

def delete(nanoid: str) -> Dict

Parameters

NameType
nanoidstr

Returns

Dict — The deleted auth config.


enable()

Enables an existing authentication configuration.

def enable(nanoid: str) -> Dict

Parameters

NameType
nanoidstr

Returns

Dict — The enabled auth config.


disable()

Disables an existing authentication configuration.

def disable(nanoid: str) -> Dict

Parameters

NameType
nanoidstr

Returns

Dict — The disabled auth config.


View source