PasswordPolicy
- enum q2_sdk.hq.db.password_policy.UiSource(value)[source]
Bases:
Enum
Valid values are as follows:
- OnlineBanking = <UiSource.OnlineBanking: 'OnlineBanking'>
- VoiceBanking = <UiSource.VoiceBanking: 'VoiceBanking'>
- BackOffice = <UiSource.BackOffice: 'BackOffice'>
- Merchant = <UiSource.Merchant: 'Merchant'>
- Fax = <UiSource.Fax: 'Fax'>
- Notifications = <UiSource.Notifications: 'Notifications'>
- API = <UiSource.API: 'API'>
- TextBanking = <UiSource.TextBanking: 'TextBanking'>
- OpenBanking = <UiSource.OpenBanking: 'OpenBanking'>
- enum q2_sdk.hq.db.password_policy.UiSourceId(value)[source]
Bases:
Enum
Valid values are as follows:
- OnlineBanking = <UiSourceId.OnlineBanking: 1>
- VoiceBanking = <UiSourceId.VoiceBanking: 2>
- BackOffice = <UiSourceId.BackOffice: 3>
- Merchant = <UiSourceId.Merchant: 4>
- Fax = <UiSourceId.Fax: 5>
- Notifications = <UiSourceId.Notifications: 6>
- API = <UiSourceId.API: 8>
- TextBanking = <UiSourceId.TextBanking: 9>
- OpenBanking = <UiSourceId.OpenBanking: 10>
- class q2_sdk.hq.db.password_policy.PasswordPolicyRow[source]
Bases:
RepresentationRowBase
-
UISourceID:
IntElement
= 'UISourceID'
-
PasswordPolicyID:
IntElement
= 'PasswordPolicyID'
-
PasswordHistoryNumber:
IntElement
= 'PasswordHistoryNumber'
-
MaxPasswordAge:
IntElement
= 'MaxPasswordAge'
-
MinPasswordAge:
IntElement
= 'MinPasswordAge'
-
MaxPasswordLength:
IntElement
= 'MaxPasswordLength'
-
MinPasswordLength:
IntElement
= 'MinPasswordLength'
-
NumbersRequired:
IntElement
= 'NumbersRequired'
-
UpperCaseRequired:
IntElement
= 'UpperCaseRequired'
-
LowerCaseRequired:
IntElement
= 'LowerCaseRequired'
-
SpecialCharRequired:
IntElement
= 'SpecialCharRequired'
-
InvalidAttempts:
IntElement
= 'InvalidAttempts'
-
InvalidAction:
IntElement
= 'InvalidAction'
-
LimitRepeating:
IntElement
= 'LimitRepeating'
-
LimitAdjacent:
IntElement
= 'LimitAdjacent'
-
ExcludeCharList:
StringElement
= 'ExcludeCharList'
-
AutoResetHours:
IntElement
= 'AutoResetHours'
-
NewPwdExpirationHours:
IntElement
= 'NewPwdExpirationHours'
-
CQRCount:
IntElement
= 'CQRCount'
-
CQRInvalidAttempts:
IntElement
= 'CQRInvalidAttempts'
-
CaseSensitiveAnswer:
IntElement
= 'CaseSensitiveAnswer'
-
QuestionMinLength:
IntElement
= 'QuestionMinLength'
-
AnswerMinLength:
IntElement
= 'AnswerMinLength'
-
TACRequiredLostPwd:
IntElement
= 'TACRequiredLostPwd'
-
TACTTLMinutes:
IntElement
= 'TACTTLMinutes'
-
TACDeliveryViaVoice:
IntElement
= 'TACDeliveryViaVoice'
-
TACDeliveryViaEmail:
IntElement
= 'TACDeliveryViaEmail'
-
TACLength:
IntElement
= 'TACLength'
-
Description:
StringElement
= 'Description'
-
LoginMinLength:
IntElement
= 'LoginMinLength'
-
LoginMaxLength:
IntElement
= 'LoginMaxLength'
-
DormantDays:
IntElement
= 'DormantDays'
-
MlaMinLength:
IntElement
= 'MlaMinLength'
-
MlaMaxLength:
IntElement
= 'MlaMaxLength'
-
MlaRequireAlpha:
BoolElement
= 'MlaRequireAlpha'
-
MlaRequireNumeric:
BoolElement
= 'MlaRequireNumeric'
-
TACDeliveryViaSMS:
BoolElement
= 'TACDeliveryViaSMS'
-
OobInvalidAttempts:
IntElement
= 'OobInvalidAttempts'
-
OobInvalidAction:
IntElement
= 'OobInvalidAction'
-
ExcludeLoginCharList:
StringElement
= 'ExcludeLoginCharList'
-
LoginNumericRequired:
BoolElement
= 'LoginNumericRequired'
-
LoginAlphaRequired:
BoolElement
= 'LoginAlphaRequired'
-
LoginSpecialCharRequired:
BoolElement
= 'LoginSpecialCharRequired'
-
UISourceID:
- class q2_sdk.hq.db.password_policy.PasswordPolicy(logger, hq_credentials=None, ret_table_obj=None)[source]
Bases:
DbObject
Programmatic access to the Q2 database. Not as flexible as a true ORM, but takes the guesswork out of database schemas and ensures safety in the transactions.
- Parameters:
logger – Reference to calling request’s logger (self.logger in your extension)
hq_credentials (
Optional
[HqCredentials
]) – HQ Connectivity Information (Defaults to settings file)ret_table_obj (
Optional
[bool
]) – Flag to return list of LXML elements ifFalse
or TableRow objects from DB calls ifTrue
(Defaults to settings file)
- NAME = 'PasswordPolicy'
- REPRESENTATION_ROW_CLASS
alias of
PasswordPolicyRow
- async get(ui_source, group_id=None)[source]
Gets a password policy for a given ui source. :param: ui_source: OnlineBanking, VoiceBanking, TextBanking, etc. :param: group_id: An optional parameter used for getting policy data for different zones if applicable
- Return type:
list
[PasswordPolicyRow
]