go-auth0/auth0

View on GitHub
management/guardian.go

Summary

Maintainability
A
0 mins
Test Coverage
B
89%

Your code does not pass gofmt in 1 place. Go fmt your code!
Open

package management
Severity: Minor
Found in management/guardian.go by gofmt

exported type MultiFactor should have comment or be unexported
Open

type MultiFactor struct {
Severity: Minor
Found in management/guardian.go by golint

exported type Enrollment should have comment or be unexported
Open

type Enrollment struct {
Severity: Minor
Found in management/guardian.go by golint

exported type MultiFactorSMSTemplate should have comment or be unexported
Open

type MultiFactorSMSTemplate struct {
Severity: Minor
Found in management/guardian.go by golint

comment on exported method MultiFactorPhone.UpdateProvider should be of the form "UpdateProvider ..."
Open

// Update MFA Phone provider, one of ["auth0" or "twilio" or "phone-message-hook"]
Severity: Minor
Found in management/guardian.go by golint

exported type MultiFactorEmail should have comment or be unexported
Open

type MultiFactorEmail struct{ *Management }
Severity: Minor
Found in management/guardian.go by golint

comment on exported method MultiFactorManager.Policy should be of the form "Policy ..."
Open

// Get MFA policies
Severity: Minor
Found in management/guardian.go by golint

comment on exported method MultiFactorManager.UpdatePolicy should be of the form "UpdatePolicy ..."
Open

// Update MFA policies
Severity: Minor
Found in management/guardian.go by golint

comment on exported method MultiFactorPhone.Provider should be of the form "Provider ..."
Open

// Retrieves the MFA Phone provider, one of ["auth0" or "twilio" or "phone-message-hook"]
Severity: Minor
Found in management/guardian.go by golint

exported type GuardianManager should have comment or be unexported
Open

type GuardianManager struct {
Severity: Minor
Found in management/guardian.go by golint

exported type MultiFactorProviderTwilio should have comment or be unexported
Open

type MultiFactorProviderTwilio struct {
Severity: Minor
Found in management/guardian.go by golint

exported type EnrollmentManager should have comment or be unexported
Open

type EnrollmentManager struct {
Severity: Minor
Found in management/guardian.go by golint

comment on exported method MultiFactorPhone.MessageTypes should be of the form "MessageTypes ..."
Open

// Retrieves the MFA Phone Message Type
Severity: Minor
Found in management/guardian.go by golint

exported type MultiFactorPush should have comment or be unexported
Open

type MultiFactorPush struct{ *Management }
Severity: Minor
Found in management/guardian.go by golint

exported type MultiFactorProviderAmazonSNS should have comment or be unexported
Open

type MultiFactorProviderAmazonSNS struct {
Severity: Minor
Found in management/guardian.go by golint

exported type EnrollmentTicket should have comment or be unexported
Open

type EnrollmentTicket struct {
Severity: Minor
Found in management/guardian.go by golint

exported type MultiFactorOTP should have comment or be unexported
Open

type MultiFactorOTP struct{ *Management }
Severity: Minor
Found in management/guardian.go by golint

exported type MultiFactorDUO should have comment or be unexported
Open

type MultiFactorDUO struct{ *Management }
Severity: Minor
Found in management/guardian.go by golint

comment on exported method MultiFactorManager.List should be of the form "List ..."
Open

// Retrieves all factors.
Severity: Minor
Found in management/guardian.go by golint

comment on exported method MultiFactorPhone.UpdateMessageTypes should be of the form "UpdateMessageTypes ..."
Open

// Update MFA Phone Message Type
Severity: Minor
Found in management/guardian.go by golint

exported type MultiFactorPolicies should have comment or be unexported
Open

type MultiFactorPolicies []string
Severity: Minor
Found in management/guardian.go by golint

exported type MultiFactorProvider should have comment or be unexported
Open

type MultiFactorProvider struct {
Severity: Minor
Found in management/guardian.go by golint

exported type PhoneMessageTypes should have comment or be unexported
Open

type PhoneMessageTypes struct {
Severity: Minor
Found in management/guardian.go by golint

comment on exported method MultiFactorPhone.Enable should be of the form "Enable ..."
Open

// Update MFA Phone to be enabled.
Severity: Minor
Found in management/guardian.go by golint

exported type MultiFactorSMS should have comment or be unexported
Open

type MultiFactorSMS struct{ *Management }
Severity: Minor
Found in management/guardian.go by golint

exported type MultiFactorWebAuthnRoaming should have comment or be unexported
Open

type MultiFactorWebAuthnRoaming struct{ *Management }
Severity: Minor
Found in management/guardian.go by golint

exported type CreateEnrollmentTicket should have comment or be unexported
Open

type CreateEnrollmentTicket struct {
Severity: Minor
Found in management/guardian.go by golint

exported type MultiFactorPhone should have comment or be unexported
Open

type MultiFactorPhone struct{ *Management }
Severity: Minor
Found in management/guardian.go by golint

exported type MultiFactorManager should have comment or be unexported
Open

type MultiFactorManager struct {
Severity: Minor
Found in management/guardian.go by golint

exported type MultiFactorWebAuthnPlatform should have comment or be unexported
Open

type MultiFactorWebAuthnPlatform struct{ *Management }
Severity: Minor
Found in management/guardian.go by golint

There are no issues that match your filters.

Category
Status