package example
import (
context "context"
client "github.com/auth0/go-auth0/management/management/client"
option "github.com/auth0/go-auth0/management/management/option"
)
func do() {
client := client.NewClient(
option.WithToken(
"<token>",
),
)
client.Guardian.Policies.List(
context.TODO(),
)
}[
"all-applications"
]Retrieve the multi-factor authentication (MFA) policies configured for your tenant.
The following policies are supported:
all-applications policy prompts with MFA for all logins.confidence-score policy prompts with MFA only for low confidence logins.Note: The confidence-score policy is part of the Adaptive MFA feature. Adaptive MFA requires an add-on for the Enterprise plan; review Auth0 Pricing for more details.
package example
import (
context "context"
client "github.com/auth0/go-auth0/management/management/client"
option "github.com/auth0/go-auth0/management/management/option"
)
func do() {
client := client.NewClient(
option.WithToken(
"<token>",
),
)
client.Guardian.Policies.List(
context.TODO(),
)
}[
"all-applications"
]Documentation Index
Fetch the complete documentation index at: https://auth0-feat-docs-5492.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Success
The MFA policy
all-applications, confidence-score このページは役に立ちましたか?