mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-12 19:14:23 +00:00
fa9f581d56
* chore: move to new org * logging * fix: org rename caos -> zitadel Co-authored-by: adlerhurst <silvan.reusser@gmail.com>
49 lines
932 B
Go
49 lines
932 B
Go
package model
|
|
|
|
import (
|
|
"time"
|
|
|
|
"github.com/zitadel/zitadel/internal/domain"
|
|
)
|
|
|
|
type LockoutPolicyView struct {
|
|
AggregateID string
|
|
MaxPasswordAttempts uint64
|
|
ShowLockOutFailures bool
|
|
Default bool
|
|
|
|
CreationDate time.Time
|
|
ChangeDate time.Time
|
|
Sequence uint64
|
|
}
|
|
|
|
type LockoutPolicySearchRequest struct {
|
|
Offset uint64
|
|
Limit uint64
|
|
SortingColumn LockoutPolicySearchKey
|
|
Asc bool
|
|
Queries []*LockoutPolicySearchQuery
|
|
}
|
|
|
|
type LockoutPolicySearchKey int32
|
|
|
|
const (
|
|
LockoutPolicySearchKeyUnspecified LockoutPolicySearchKey = iota
|
|
LockoutPolicySearchKeyAggregateID
|
|
)
|
|
|
|
type LockoutPolicySearchQuery struct {
|
|
Key LockoutPolicySearchKey
|
|
Method domain.SearchMethod
|
|
Value interface{}
|
|
}
|
|
|
|
type LockoutPolicySearchResponse struct {
|
|
Offset uint64
|
|
Limit uint64
|
|
TotalResult uint64
|
|
Result []*LockoutPolicyView
|
|
Sequence uint64
|
|
Timestamp time.Time
|
|
}
|