package example
import (
context "context"
management "github.com/auth0/go-auth0/management/management"
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>",
),
)
request := &management.SetGuardianFactorsProviderPushNotificationFcmRequestContent{}
client.Guardian.Factors.PushNotification.SetFcmProvider(
context.TODO(),
request,
)
}{}Modify configuration details of the multi-factor authentication FCM provider associated with your tenant.
package example
import (
context "context"
management "github.com/auth0/go-auth0/management/management"
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>",
),
)
request := &management.SetGuardianFactorsProviderPushNotificationFcmRequestContent{}
client.Guardian.Factors.PushNotification.SetFcmProvider(
context.TODO(),
request,
)
}{}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
1 - 152FCM configuration updated
The response is of type object.
このページは役に立ちましたか?