iclientpy.env package

Module contents

class iclientpy.env.Authentication(authentication_type)[源代码]

基类:object

class iclientpy.env.AuthenticationType[源代码]

基类:enum.Enum

An enumeration.

CAS = 'CAS'
Password = 'Password'
Token = 'Token'
class iclientpy.env.Profile(targetType: iclientpy.env.ProfileTargetType, url: str, authentication: iclientpy.env.Authentication)[源代码]

基类:object

class iclientpy.env.ProfileTargetType[源代码]

基类:enum.Enum

An enumeration.

Online = 'Online'
Portal = 'Portal'
Server = 'Server'
class iclientpy.env.TokenAuthentication(token: str)[源代码]

基类:iclientpy.env.Authentication

class iclientpy.env.UsernamePasswdAuthentication(username: str, passwd: str)[源代码]

基类:iclientpy.env.Authentication

iclientpy.env.add_profile(*, name: str, type: iclientpy.env.ProfileTargetType, url: str, username_password: Tuple[str, str] = None, token: str = None, authentication_type: iclientpy.env.AuthenticationType = None, update_default: bool = False)[源代码]
iclientpy.env.add_server_token_profile(name: str, url: str, token: str, **kwargs)[源代码]
iclientpy.env.add_server_username_password_profile(name: str, url: str, username: str, passwd: str, **kwargs)[源代码]
iclientpy.env.create_apifactory_from_profile(profile: iclientpy.env.Profile, **kwargs)[源代码]
iclientpy.env.get_profile(name: str = None)[源代码]
iclientpy.env.set_default_profile(profile: iclientpy.env.Profile)[源代码]