Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions management/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,23 @@ type Client struct {
// For more details on making custom requests, refer to the Auth0 Go SDK examples:
// https://github.com/auth0/go-auth0/blob/main/EXAMPLES.md#providing-a-custom-user-struct
OrganizationDiscoveryMethods *[]string `json:"organization_discovery_methods,omitempty"`

// AsyncApprovalNotificationChannels is an array of notification channels for contacting
// the user when their approval is required.
//
// Valid values: "guardian-push", "email".
//
// Default value: ["guardian-push"]
//
// To unset values (set to null), use a PATCH request like this:
// PATCH /api/v2/clients/{id}
// {
// "async_approval_notification_channels": null
// }
//
// For more details on making custom requests, refer to the Auth0 Go SDK examples:
// https://github.com/auth0/go-auth0/blob/main/EXAMPLES.md#providing-a-custom-user-struct
AsyncApprovalNotificationChannels *[]string `json:"async_approval_notification_channels,omitempty"`
}

// ClientTokenExchange allows configuration for token exchange.
Expand Down
8 changes: 8 additions & 0 deletions management/management.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions management/management.gen_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading