MCPcopy Create free account
hub / github.com/auth0/auth0-cli / makeBreachedPasswordDetectionView

Function makeBreachedPasswordDetectionView

internal/display/attack_protection.go:53–62  ·  view source on GitHub ↗
(bpd *management.BreachedPasswordDetection)

Source from the content-addressed store, hash-verified

51}
52
53func makeBreachedPasswordDetectionView(bpd *management.BreachedPasswordDetection) *breachedPasswordDetectionView {
54 return &breachedPasswordDetectionView{
55 Enabled: boolean(bpd.GetEnabled()),
56 Shields: bpd.GetShields(),
57 AdminNotificationFrequency: bpd.GetAdminNotificationFrequency(),
58 Method: bpd.GetMethod(),
59
60 raw: bpd,
61 }
62}
63
64type bruteForceProtectionView struct {
65 Enabled string

Calls 1

booleanFunction · 0.85

Tested by

no test coverage detected