Get Support
Digital Barriers EdgeVis Decoder SDK
Toggle main menu visibility
Loading...
Searching...
No Matches
SDKs
EdgeVisDecoderSDK
PasswordResetInfo.h
Go to the documentation of this file.
1
2
// Copyright (c) 2016 Digital Barriers
4
17
18
#pragma once
19
20
#include "EdgeVisSDK.h"
21
#include "Pimpl.h"
22
#include <string>
23
#include <vector>
24
25
namespace
EdgeVisDecoderSDK
26
{
27
class
PasswordResetInfoImpl;
28
29
class
PasswordResetInfo :
public
EdgeVisSDKPimpl<PasswordResetInfoImpl>
30
{
31
public
:
32
DB_EDGEVIS_SDK PasswordResetInfo();
33
DB_EDGEVIS_SDK PasswordResetInfo(
const
std::wstring& reason,
const
std::wstring& error,
const
int32_t min_len,
const
bool
requires_number,
const
bool
requires_uppercase,
const
bool
requires_nonalpha,
const
int32_t reuse_period,
34
const
bool
inbuilt_dictionary_detection,
const
bool
custom_dictionary_detection, int32_t number_consecutive_characters, int32_t expiry_period);
35
DB_EDGEVIS_SDK
virtual
~PasswordResetInfo();
36
37
38
DB_EDGEVIS_SDK
void
Reset();
39
45
DB_EDGEVIS_SDK std::wstring
Reason
()
const
;
46
60
DB_EDGEVIS_SDK std::wstring
Error
()
const
;
61
67
DB_EDGEVIS_SDK int32_t
MinimumLength
()
const
;
68
74
DB_EDGEVIS_SDK int32_t
MaximumLength
()
const
;
75
81
DB_EDGEVIS_SDK
bool
RequiresNumber
()
const
;
82
88
DB_EDGEVIS_SDK
bool
RequiresUppercase
()
const
;
89
95
DB_EDGEVIS_SDK
bool
RequiresNonAlphanumeric
()
const
;
96
102
DB_EDGEVIS_SDK int32_t
ReusePeriod
()
const
;
103
109
DB_EDGEVIS_SDK
bool
InbuiltDictionaryDetection
()
const
;
110
116
DB_EDGEVIS_SDK
bool
CustomDictionaryDetection
()
const
;
117
123
DB_EDGEVIS_SDK int32_t
NumberConsecutiveCharacters
()
const
;
124
130
DB_EDGEVIS_SDK int32_t
ExpiryPeriod
()
const
;
131
132
bool
operator==(
const
PasswordResetInfo& other)
const
;
133
134
};
135
}
EdgeVisDecoderSDK::PasswordResetInfo::MaximumLength
DB_EDGEVIS_SDK int32_t MaximumLength() const
The maximum length a password can be.
EdgeVisDecoderSDK::PasswordResetInfo::RequiresUppercase
DB_EDGEVIS_SDK bool RequiresUppercase() const
Set if the password must contain an uppercase character.
EdgeVisDecoderSDK::PasswordResetInfo::ExpiryPeriod
DB_EDGEVIS_SDK int32_t ExpiryPeriod() const
Set the number of days that a user account password is valid for from the day it was set.
EdgeVisDecoderSDK::PasswordResetInfo::MinimumLength
DB_EDGEVIS_SDK int32_t MinimumLength() const
The minimum length the password must be.
EdgeVisDecoderSDK::PasswordResetInfo::Error
DB_EDGEVIS_SDK std::wstring Error() const
Returns the error associated with the password reset.
EdgeVisDecoderSDK::PasswordResetInfo::Reason
DB_EDGEVIS_SDK std::wstring Reason() const
Returns the reason for the password reset.
EdgeVisDecoderSDK::PasswordResetInfo::RequiresNonAlphanumeric
DB_EDGEVIS_SDK bool RequiresNonAlphanumeric() const
Set if the password must contain a non-alphanumeric character.
EdgeVisDecoderSDK::PasswordResetInfo::CustomDictionaryDetection
DB_EDGEVIS_SDK bool CustomDictionaryDetection() const
Set if the custom list of passwords should be used for disallowed password detection.
EdgeVisDecoderSDK::PasswordResetInfo::NumberConsecutiveCharacters
DB_EDGEVIS_SDK int32_t NumberConsecutiveCharacters() const
Set the maximum number of consecutive characters allowed in a user account password.
EdgeVisDecoderSDK::PasswordResetInfo::InbuiltDictionaryDetection
DB_EDGEVIS_SDK bool InbuiltDictionaryDetection() const
Set if the standard inbuilt list of passwords should be used for disallowed password detection.
EdgeVisDecoderSDK::PasswordResetInfo::ReusePeriod
DB_EDGEVIS_SDK int32_t ReusePeriod() const
The time in days before a password may be reused.
EdgeVisDecoderSDK::PasswordResetInfo::RequiresNumber
DB_EDGEVIS_SDK bool RequiresNumber() const
Set if the password must contain a number.
EdgeVisDecoderSDK
The EdgeVis Decoder SDK namespace.
Generated on
for Digital Barriers EdgeVis Decoder SDK by
1.18.0