mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-15 04:18:01 +00:00
fa9f581d56
* chore: move to new org * logging * fix: org rename caos -> zitadel Co-authored-by: adlerhurst <silvan.reusser@gmail.com>
52 lines
1.1 KiB
Go
52 lines
1.1 KiB
Go
package model
|
|
|
|
import (
|
|
"time"
|
|
|
|
"github.com/zitadel/zitadel/internal/domain"
|
|
)
|
|
|
|
type PasswordComplexityPolicyView struct {
|
|
AggregateID string
|
|
MinLength uint64
|
|
HasLowercase bool
|
|
HasUppercase bool
|
|
HasNumber bool
|
|
HasSymbol bool
|
|
Default bool
|
|
|
|
CreationDate time.Time
|
|
ChangeDate time.Time
|
|
Sequence uint64
|
|
}
|
|
|
|
type PasswordComplexityPolicySearchRequest struct {
|
|
Offset uint64
|
|
Limit uint64
|
|
SortingColumn PasswordComplexityPolicySearchKey
|
|
Asc bool
|
|
Queries []*PasswordComplexityPolicySearchQuery
|
|
}
|
|
|
|
type PasswordComplexityPolicySearchKey int32
|
|
|
|
const (
|
|
PasswordComplexityPolicySearchKeyUnspecified PasswordComplexityPolicySearchKey = iota
|
|
PasswordComplexityPolicySearchKeyAggregateID
|
|
)
|
|
|
|
type PasswordComplexityPolicySearchQuery struct {
|
|
Key PasswordComplexityPolicySearchKey
|
|
Method domain.SearchMethod
|
|
Value interface{}
|
|
}
|
|
|
|
type PasswordComplexityPolicySearchResponse struct {
|
|
Offset uint64
|
|
Limit uint64
|
|
TotalResult uint64
|
|
Result []*PasswordComplexityPolicyView
|
|
Sequence uint64
|
|
Timestamp time.Time
|
|
}
|