package example
import (
context "context"
client "github.com/auth0/go-auth0/management/management/client"
factors "github.com/auth0/go-auth0/management/management/guardian/factors"
option "github.com/auth0/go-auth0/management/management/option"
)
func do() {
client := client.NewClient(
option.WithToken(
"<token>",
),
)
request := &factors.UpdateGuardianFactorsProviderPushNotificationSnsRequestContent{}
client.Guardian.Factors.PushNotification.UpdateSnsProvider(
context.TODO(),
request,
)
}{
"aws_access_key_id": "wywA2BH4VqTpfywiDuyDAYZL3xQjoO40",
"aws_secret_access_key": "B1ER5JHDGJL3C4sVAKK7SBsq806R3IpL",
"aws_region": "us-west-1",
"sns_apns_platform_application_arn": "<string>",
"sns_gcm_platform_application_arn": "urn://yRMeBxgcCXh8MeTXPBAxhQnm6gP6f5nP"
}Configure the AWS SNS push notification provider configuration (subscription required).
package example
import (
context "context"
client "github.com/auth0/go-auth0/management/management/client"
factors "github.com/auth0/go-auth0/management/management/guardian/factors"
option "github.com/auth0/go-auth0/management/management/option"
)
func do() {
client := client.NewClient(
option.WithToken(
"<token>",
),
)
request := &factors.UpdateGuardianFactorsProviderPushNotificationSnsRequestContent{}
client.Guardian.Factors.PushNotification.UpdateSnsProvider(
context.TODO(),
request,
)
}{
"aws_access_key_id": "wywA2BH4VqTpfywiDuyDAYZL3xQjoO40",
"aws_secret_access_key": "B1ER5JHDGJL3C4sVAKK7SBsq806R3IpL",
"aws_region": "us-west-1",
"sns_apns_platform_application_arn": "<string>",
"sns_gcm_platform_application_arn": "urn://yRMeBxgcCXh8MeTXPBAxhQnm6gP6f5nP"
}Documentation Index
Fetch the complete documentation index at: https://auth0-quickstart-flutter-windows.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.
1 - 10001 - 10001 - 1000^(?:us-east-[0-9]{1,2}|us-west-[0-9]{1,2}|ap-southeast-[0-9]{1,2}|ap-northeast-[0-9]{1,2}|ap-central-[0-9]{1,2}|eu-west-[0-9]{1,2}|eu-central-[0-9]{1,2})$1 - 10001 - 1000AWS SNS configuration successfully updated.
1 - 10001 - 10001 - 1000^(?:us-east-[0-9]{1,2}|us-west-[0-9]{1,2}|ap-southeast-[0-9]{1,2}|ap-northeast-[0-9]{1,2}|ap-central-[0-9]{1,2}|eu-west-[0-9]{1,2}|eu-central-[0-9]{1,2})$1 - 10001 - 1000このページは役に立ちましたか?