management/guardian.go
Your code does not pass gofmt in 1 place. Go fmt your code! Open
Open
package management
- Exclude checks
exported type MultiFactor should have comment or be unexported Open
Open
type MultiFactor struct {
- Exclude checks
exported type Enrollment should have comment or be unexported Open
Open
type Enrollment struct {
- Exclude checks
exported type MultiFactorSMSTemplate should have comment or be unexported Open
Open
type MultiFactorSMSTemplate struct {
- Exclude checks
comment on exported method MultiFactorPhone.UpdateProvider should be of the form "UpdateProvider ..." Open
Open
// Update MFA Phone provider, one of ["auth0" or "twilio" or "phone-message-hook"]
- Exclude checks
exported type MultiFactorEmail should have comment or be unexported Open
Open
type MultiFactorEmail struct{ *Management }
- Exclude checks
comment on exported method MultiFactorManager.Policy should be of the form "Policy ..." Open
Open
// Get MFA policies
- Exclude checks
comment on exported method MultiFactorManager.UpdatePolicy should be of the form "UpdatePolicy ..." Open
Open
// Update MFA policies
- Exclude checks
comment on exported method MultiFactorPhone.Provider should be of the form "Provider ..." Open
Open
// Retrieves the MFA Phone provider, one of ["auth0" or "twilio" or "phone-message-hook"]
- Exclude checks
exported type GuardianManager should have comment or be unexported Open
Open
type GuardianManager struct {
- Exclude checks
exported type MultiFactorProviderTwilio should have comment or be unexported Open
Open
type MultiFactorProviderTwilio struct {
- Exclude checks
exported type EnrollmentManager should have comment or be unexported Open
Open
type EnrollmentManager struct {
- Exclude checks
comment on exported method MultiFactorPhone.MessageTypes should be of the form "MessageTypes ..." Open
Open
// Retrieves the MFA Phone Message Type
- Exclude checks
exported type MultiFactorPush should have comment or be unexported Open
Open
type MultiFactorPush struct{ *Management }
- Exclude checks
exported type MultiFactorProviderAmazonSNS should have comment or be unexported Open
Open
type MultiFactorProviderAmazonSNS struct {
- Exclude checks
exported type EnrollmentTicket should have comment or be unexported Open
Open
type EnrollmentTicket struct {
- Exclude checks
exported type MultiFactorOTP should have comment or be unexported Open
Open
type MultiFactorOTP struct{ *Management }
- Exclude checks
exported type MultiFactorDUO should have comment or be unexported Open
Open
type MultiFactorDUO struct{ *Management }
- Exclude checks
comment on exported method MultiFactorManager.List should be of the form "List ..." Open
Open
// Retrieves all factors.
- Exclude checks
comment on exported method MultiFactorPhone.UpdateMessageTypes should be of the form "UpdateMessageTypes ..." Open
Open
// Update MFA Phone Message Type
- Exclude checks
exported type MultiFactorPolicies should have comment or be unexported Open
Open
type MultiFactorPolicies []string
- Exclude checks
exported type MultiFactorProvider should have comment or be unexported Open
Open
type MultiFactorProvider struct {
- Exclude checks
exported type PhoneMessageTypes should have comment or be unexported Open
Open
type PhoneMessageTypes struct {
- Exclude checks
comment on exported method MultiFactorPhone.Enable should be of the form "Enable ..." Open
Open
// Update MFA Phone to be enabled.
- Exclude checks
exported type MultiFactorSMS should have comment or be unexported Open
Open
type MultiFactorSMS struct{ *Management }
- Exclude checks
exported type MultiFactorWebAuthnRoaming should have comment or be unexported Open
Open
type MultiFactorWebAuthnRoaming struct{ *Management }
- Exclude checks
exported type CreateEnrollmentTicket should have comment or be unexported Open
Open
type CreateEnrollmentTicket struct {
- Exclude checks
exported type MultiFactorPhone should have comment or be unexported Open
Open
type MultiFactorPhone struct{ *Management }
- Exclude checks
exported type MultiFactorManager should have comment or be unexported Open
Open
type MultiFactorManager struct {
- Exclude checks
exported type MultiFactorWebAuthnPlatform should have comment or be unexported Open
Open
type MultiFactorWebAuthnPlatform struct{ *Management }
- Exclude checks