ark_service
ArkService
¶
Bases: ABC
Source code in ark_sdk_python/services/ark_service.py
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 |
|
authenticators: List[ArkAuth]
property
¶
Returns all the authenticators for the service.
Returns:
Type | Description |
---|---|
List[ArkAuth]
|
List[ArkAuth]: description |
authenticator(auth_name)
¶
Finds the appropriate Ark authenticator class for the specified authenticator.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
auth_name |
str
|
description |
required |
Raises:
Type | Description |
---|---|
ArkNotFoundException
|
description |
Returns:
Name | Type | Description |
---|---|---|
ArkAuth |
ArkAuth
|
description |
Source code in ark_sdk_python/services/ark_service.py
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
|
has_authenticator(auth_name)
¶
Checks whether the specified authenticator name exists.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
auth_name |
str
|
description |
required |
Returns:
Name | Type | Description |
---|---|---|
bool |
bool
|
description |
Source code in ark_sdk_python/services/ark_service.py
46 47 48 49 50 51 52 53 54 55 56 |
|
service_config()
abstractmethod
staticmethod
¶
Returns the service configuration, which includes the service name, and its required and optional authenticators.
Returns:
Name | Type | Description |
---|---|---|
ArkServiceConfig |
ArkServiceConfig
|
description |
Source code in ark_sdk_python/services/ark_service.py
58 59 60 61 62 63 64 65 66 |
|