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.CreateSelfServiceProfileRequestContent{
Name: "name",
}
client.SelfServiceProfiles.Create(
context.TODO(),
request,
)
}{
"id": "ssp_n7SNCL8seoyV1TuSTCnAeo",
"name": "<string>",
"description": "<string>",
"user_attributes": [
{
"name": "<string>",
"description": "<string>",
"is_optional": true
}
],
"created_at": "2021-01-01T00:00:00.000Z",
"updated_at": "2021-01-01T00:00:00.000Z",
"branding": {
"logo_url": "<string>",
"colors": {
"primary": "<string>"
}
},
"allowed_strategies": [
"oidc"
],
"user_attribute_profile_id": "<string>"
}Creates a self-service profile.
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.CreateSelfServiceProfileRequestContent{
Name: "name",
}
client.SelfServiceProfiles.Create(
context.TODO(),
request,
)
}{
"id": "ssp_n7SNCL8seoyV1TuSTCnAeo",
"name": "<string>",
"description": "<string>",
"user_attributes": [
{
"name": "<string>",
"description": "<string>",
"is_optional": true
}
],
"created_at": "2021-01-01T00:00:00.000Z",
"updated_at": "2021-01-01T00:00:00.000Z",
"branding": {
"logo_url": "<string>",
"colors": {
"primary": "<string>"
}
},
"allowed_strategies": [
"oidc"
],
"user_attribute_profile_id": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://auth0.com/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.
The name of the self-service Profile.
1 - 100The description of the self-service Profile.
1 - 140Show child attributes
List of IdP strategies that will be shown to users during the Self-Service Enterprise Configuration flow. Possible values: [oidc, samlp, waad, google-apps, adfs, okta, auth0-samlp, okta-samlp, keycloak-samlp, pingfederate]
1oidc, samlp, waad, google-apps, adfs, okta, auth0-samlp, okta-samlp, keycloak-samlp, pingfederate List of attributes to be mapped that will be shown to the user during the Self-Service Enterprise Configuration flow.
Show child attributes
ID of the user-attribute-profile to associate with this self-service profile.
Self-service profile successfully created.
The unique ID of the self-service Profile.
The name of the self-service Profile.
The description of the self-service Profile.
List of attributes to be mapped that will be shown to the user during the Self-Service Enterprise Configuration flow.
Show child attributes
The time when this self-service Profile was created.
The time when this self-service Profile was updated.
Show child attributes
List of IdP strategies that will be shown to users during the Self-Service Enterprise Configuration flow. Possible values: [oidc, samlp, waad, google-apps, adfs, okta, auth0-samlp, okta-samlp, keycloak-samlp, pingfederate]
1oidc, samlp, waad, google-apps, adfs, okta, auth0-samlp, okta-samlp, keycloak-samlp, pingfederate ID of the user-attribute-profile to associate with this self-service profile.
Cette page vous a-t-elle été utile ?