Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 24 additions & 24 deletions okta/models/access_policy_constraint.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,24 +99,24 @@ def methods_validate_enum(cls, value):
for i in value:
if i not in set(
[
"PASSWORD",
"SECURITY_QUESTION",
"SMS",
"VOICE",
"EMAIL",
"PUSH",
"SIGNED_NONCE",
"OTP",
"TOTP",
"WEBAUTHN",
"DUO",
"IDP",
"CERT",
"password",
"security_question",
"sms",
"voice",
"email",
"push",
"signed_nonce",
"otp",
"totp",
"webauthn",
"duo",
"idp",
"cert",
]
):
raise ValueError(
"each list item must be one of ('PASSWORD', 'SECURITY_QUESTION', 'SMS', 'VOICE', 'EMAIL', 'PUSH', "
"'SIGNED_NONCE', 'OTP', 'TOTP', 'WEBAUTHN', 'DUO', 'IDP', 'CERT')"
"each list item must be one of ('password', 'security_question', 'sms', 'voice', 'email', 'push', "
"'signed_nonce', 'otp', 'totp', 'webauthn', 'duo', 'idp', 'cert')"
)
return value

Expand All @@ -129,18 +129,18 @@ def types_validate_enum(cls, value):
for i in value:
if i not in set(
[
"SECURITY_KEY",
"PHONE",
"EMAIL",
"PASSWORD",
"SECURITY_QUESTION",
"APP",
"FEDERATED",
"security_key",
"phone",
"email",
"password",
"security_question",
"app",
"federated",
]
):
raise ValueError(
"each list item must be one of ('SECURITY_KEY', 'PHONE', 'EMAIL', 'PASSWORD', 'SECURITY_QUESTION', "
"'APP', 'FEDERATED')"
"each list item must be one of ('security_key', 'phone', 'email', 'password', 'security_question', "
"'app', 'federated')"
)
return value

Expand Down
48 changes: 24 additions & 24 deletions okta/models/knowledge_constraint.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,24 +96,24 @@ def methods_validate_enum(cls, value):
for i in value:
if i not in set(
[
"PASSWORD",
"SECURITY_QUESTION",
"SMS",
"VOICE",
"EMAIL",
"PUSH",
"SIGNED_NONCE",
"OTP",
"TOTP",
"WEBAUTHN",
"DUO",
"IDP",
"CERT",
"password",
"security_question",
"sms",
"voice",
"email",
"push",
"signed_nonce",
"otp",
"totp",
"webauthn",
"duo",
"idp",
"cert",
]
):
raise ValueError(
"each list item must be one of ('PASSWORD', 'SECURITY_QUESTION', 'SMS', 'VOICE', 'EMAIL', 'PUSH', "
"'SIGNED_NONCE', 'OTP', 'TOTP', 'WEBAUTHN', 'DUO', 'IDP', 'CERT')"
"each list item must be one of ('password', 'security_question', 'sms', 'voice', 'email', 'push', "
"'signed_nonce', 'otp', 'totp', 'webauthn', 'duo', 'idp', 'cert')"
)
return value

Expand All @@ -126,18 +126,18 @@ def types_validate_enum(cls, value):
for i in value:
if i not in set(
[
"SECURITY_KEY",
"PHONE",
"EMAIL",
"PASSWORD",
"SECURITY_QUESTION",
"APP",
"FEDERATED",
"security_key",
"phone",
"email",
"password",
"security_question",
"app",
"federated",
]
):
raise ValueError(
"each list item must be one of ('SECURITY_KEY', 'PHONE', 'EMAIL', 'PASSWORD', 'SECURITY_QUESTION', "
"'APP', 'FEDERATED')"
"each list item must be one of ('security_key', 'phone', 'email', 'password', 'security_question', "
"'app', 'federated')"
)
return value

Expand Down
48 changes: 24 additions & 24 deletions okta/models/possession_constraint.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,24 +137,24 @@ def methods_validate_enum(cls, value):
for i in value:
if i not in set(
[
"PASSWORD",
"SECURITY_QUESTION",
"SMS",
"VOICE",
"EMAIL",
"PUSH",
"SIGNED_NONCE",
"OTP",
"TOTP",
"WEBAUTHN",
"DUO",
"IDP",
"CERT",
"password",
"security_question",
"sms",
"voice",
"email",
"push",
"signed_nonce",
"otp",
"totp",
"webauthn",
"duo",
"idp",
"cert",
]
):
raise ValueError(
"each list item must be one of ('PASSWORD', 'SECURITY_QUESTION', 'SMS', 'VOICE', 'EMAIL', 'PUSH', "
"'SIGNED_NONCE', 'OTP', 'TOTP', 'WEBAUTHN', 'DUO', 'IDP', 'CERT')"
"each list item must be one of ('password', 'security_question', 'sms', 'voice', 'email', 'push', "
"'signed_nonce', 'otp', 'totp', 'webauthn', 'duo', 'idp', 'cert')"
)
return value

Expand All @@ -167,18 +167,18 @@ def types_validate_enum(cls, value):
for i in value:
if i not in set(
[
"SECURITY_KEY",
"PHONE",
"EMAIL",
"PASSWORD",
"SECURITY_QUESTION",
"APP",
"FEDERATED",
"security_key",
"phone",
"email",
"password",
"security_question",
"app",
"federated",
]
):
raise ValueError(
"each list item must be one of ('SECURITY_KEY', 'PHONE', 'EMAIL', 'PASSWORD', 'SECURITY_QUESTION', "
"'APP', 'FEDERATED')"
"each list item must be one of ('security_key', 'phone', 'email', 'password', 'security_question', "
"'app', 'federated')"
)
return value

Expand Down
40 changes: 20 additions & 20 deletions openapi/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57789,19 +57789,19 @@ components:
items:
type: string
enum:
- PASSWORD
- SECURITY_QUESTION
- SMS
- VOICE
- EMAIL
- PUSH
- SIGNED_NONCE
- OTP
- TOTP
- WEBAUTHN
- DUO
- IDP
- CERT
- password
- security_question
- sms
- voice
- email
- push
- signed_nonce
- otp
- totp
- webauthn
- duo
- idp
- cert
type: array
reauthenticateIn:
description: The duration after which the user must re-authenticate regardless of user activity. This re-authentication interval overrides the Verification Method object's `reauthenticateIn` interval. The supported values use ISO 8601 period format for recurring time intervals (for example, `PT1H`).
Expand All @@ -57814,13 +57814,13 @@ components:
items:
type: string
enum:
- SECURITY_KEY
- PHONE
- EMAIL
- PASSWORD
- SECURITY_QUESTION
- APP
- FEDERATED
- security_key
- phone
- email
- password
- security_question
- app
- federated
type: array
AccessPolicyConstraints:
description: Specifies constraints for the authenticator. Constraints are logically evaluated such that only one constraint object needs to be satisfied. But, within a constraint object, each constraint property must be satisfied.
Expand Down