Skip to content

Commit 4c64bba

Browse files
gonatienzaGonzalo Atienza
and
Gonzalo Atienza
authored
Adding oath to settings
Co-authored-by: Gonzalo Atienza <[email protected]>
1 parent 40b8686 commit 4c64bba

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

ark_sdk_python/auth/identity/ark_identity.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ def __poll_authentication(
316316
def __pick_mechanism(self, challenge: Challenge) -> Mechanism:
317317
factors = {
318318
'otp': '📲 Push / Code',
319-
'oath': '📲 Push / Code',
319+
'oath': '🔐 OATH Code',
320320
'sms': '📟 SMS',
321321
'email': '📧 Email',
322322
'pf': '📞 Phone call',

ark_sdk_python/models/auth/ark_auth_method.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ class ArkAuthMethodSettings(ArkModel):
2020

2121

2222
class IdentityArkAuthMethodSettings(ArkAuthMethodSettings):
23-
identity_mfa_method: Literal[('pf', 'sms', 'email', 'otp')] = Field(
24-
description='MFA method if mfa is needed', default='email', alias='MFA Method to use by default [pf, sms, email, otp]'
23+
identity_mfa_method: Literal[('pf', 'sms', 'email', 'otp', 'oath')] = Field(
24+
description='MFA method if mfa is needed', default='email', alias='MFA Method to use by default [pf, sms, email, otp, oath]'
2525
)
2626
identity_mfa_interactive: bool = Field(description='Allow interactive MFA (passcodes)', alias='Allow Interactive MFA', default=True)
2727
identity_application: Optional[str] = Field(

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "ark-sdk-python"
3-
version = "2.0.7"
3+
version = "2.0.8"
44
description='Official Ark SDK / CLI for CyberArk Identity Security Platform'
55
authors = ["CyberArk <[email protected]>", "Ofir Iluz <[email protected]"]
66
readme = "README.md"

0 commit comments

Comments
 (0)