using Auth0.ManagementApi;
using System.Threading.Tasks;
public partial class Examples
{
public async Task Example() {
var client = new ManagementApiClient(
token: "<token>",
clientOptions: new ClientOptions { BaseUrl = "https://{YOUR_DOMAIN}/api/v2" }
);
await client.ConnectionProfiles.GetAsync(
"id"
);
}
}
package com.example.usage;
import com.auth0.client.mgmt.ManagementApi;
public class Example {
public static void main(String[] args) {
ManagementApi client = ManagementApi
.builder()
.domain("{YOUR_DOMAIN}")
.token("<token>")
.build();
client.connectionProfiles().get("id");
}
}<?php
namespace Example;
use Auth0\SDK\API\Management\Wrapper\ManagementClient;
use Auth0\SDK\API\Management\Wrapper\ManagementClientOptions;
$client = new ManagementClient(new ManagementClientOptions(
domain: '{YOUR_DOMAIN}',
token: '<token>',
));
$client->connectionProfiles->get(
'id',
);
from auth0.management import ManagementClient
client = ManagementClient(
domain="{YOUR_DOMAIN}",
token="<token>",
)
client.connection_profiles.get(
id="id",
)
require "auth0"
client = Auth0::Management.new(token: "<token>", base_url: "https://{YOUR_DOMAIN}/api/v2")
client.connection_profiles.get(id: "id")
curl --request GET \
--url https://{tenantDomain}/api/v2/connection-profiles/{id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{tenantDomain}/api/v2/connection-profiles/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://{tenantDomain}/api/v2/connection-profiles/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"connection_config": {},
"connection_name_prefix_template": "<string>",
"cross_app_access_resource_app": {
"status": {
"default_value": "enabled",
"allowed_values": [
"enabled"
]
}
},
"enabled_features": [
"scim"
],
"id": "<string>",
"name": "<string>",
"organization": {
"assign_membership_on_login": "none",
"show_as_button": "none"
},
"provisioning": {
"scim": {
"tokens": {
"scopes": [
"get:users"
],
"default_expiry": 901,
"max_allowed_expiry": 901
}
}
},
"strategy_overrides": {
"ad": {
"connection_config": {},
"enabled_features": [
"scim"
],
"provisioning": {
"scim": {
"tokens": {
"scopes": [
"get:users"
],
"default_expiry": 901,
"max_allowed_expiry": 901
}
}
}
},
"adfs": {
"connection_config": {},
"enabled_features": [
"scim"
],
"provisioning": {
"scim": {
"tokens": {
"scopes": [
"get:users"
],
"default_expiry": 901,
"max_allowed_expiry": 901
}
}
}
},
"google-apps": {
"connection_config": {},
"enabled_features": [
"scim"
],
"provisioning": {
"scim": {
"tokens": {
"scopes": [
"get:users"
],
"default_expiry": 901,
"max_allowed_expiry": 901
}
}
}
},
"oidc": {
"connection_config": {},
"enabled_features": [
"scim"
],
"provisioning": {
"scim": {
"tokens": {
"scopes": [
"get:users"
],
"default_expiry": 901,
"max_allowed_expiry": 901
}
}
}
},
"okta": {
"connection_config": {},
"enabled_features": [
"scim"
],
"provisioning": {
"scim": {
"tokens": {
"scopes": [
"get:users"
],
"default_expiry": 901,
"max_allowed_expiry": 901
}
}
}
},
"pingfederate": {
"connection_config": {},
"enabled_features": [
"scim"
],
"provisioning": {
"scim": {
"tokens": {
"scopes": [
"get:users"
],
"default_expiry": 901,
"max_allowed_expiry": 901
}
}
}
},
"samlp": {
"connection_config": {},
"enabled_features": [
"scim"
],
"provisioning": {
"scim": {
"tokens": {
"scopes": [
"get:users"
],
"default_expiry": 901,
"max_allowed_expiry": 901
}
}
}
},
"waad": {
"connection_config": {},
"enabled_features": [
"scim"
],
"provisioning": {
"scim": {
"tokens": {
"scopes": [
"get:users"
],
"default_expiry": 901,
"max_allowed_expiry": 901
}
}
}
}
}
}Obtenir le Connection Profile
Récupérer les détails d’un profil de connexion précis à l’aide de son ID.
using Auth0.ManagementApi;
using System.Threading.Tasks;
public partial class Examples
{
public async Task Example() {
var client = new ManagementApiClient(
token: "<token>",
clientOptions: new ClientOptions { BaseUrl = "https://{YOUR_DOMAIN}/api/v2" }
);
await client.ConnectionProfiles.GetAsync(
"id"
);
}
}
package com.example.usage;
import com.auth0.client.mgmt.ManagementApi;
public class Example {
public static void main(String[] args) {
ManagementApi client = ManagementApi
.builder()
.domain("{YOUR_DOMAIN}")
.token("<token>")
.build();
client.connectionProfiles().get("id");
}
}<?php
namespace Example;
use Auth0\SDK\API\Management\Wrapper\ManagementClient;
use Auth0\SDK\API\Management\Wrapper\ManagementClientOptions;
$client = new ManagementClient(new ManagementClientOptions(
domain: '{YOUR_DOMAIN}',
token: '<token>',
));
$client->connectionProfiles->get(
'id',
);
from auth0.management import ManagementClient
client = ManagementClient(
domain="{YOUR_DOMAIN}",
token="<token>",
)
client.connection_profiles.get(
id="id",
)
require "auth0"
client = Auth0::Management.new(token: "<token>", base_url: "https://{YOUR_DOMAIN}/api/v2")
client.connection_profiles.get(id: "id")
curl --request GET \
--url https://{tenantDomain}/api/v2/connection-profiles/{id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{tenantDomain}/api/v2/connection-profiles/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://{tenantDomain}/api/v2/connection-profiles/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"connection_config": {},
"connection_name_prefix_template": "<string>",
"cross_app_access_resource_app": {
"status": {
"default_value": "enabled",
"allowed_values": [
"enabled"
]
}
},
"enabled_features": [
"scim"
],
"id": "<string>",
"name": "<string>",
"organization": {
"assign_membership_on_login": "none",
"show_as_button": "none"
},
"provisioning": {
"scim": {
"tokens": {
"scopes": [
"get:users"
],
"default_expiry": 901,
"max_allowed_expiry": 901
}
}
},
"strategy_overrides": {
"ad": {
"connection_config": {},
"enabled_features": [
"scim"
],
"provisioning": {
"scim": {
"tokens": {
"scopes": [
"get:users"
],
"default_expiry": 901,
"max_allowed_expiry": 901
}
}
}
},
"adfs": {
"connection_config": {},
"enabled_features": [
"scim"
],
"provisioning": {
"scim": {
"tokens": {
"scopes": [
"get:users"
],
"default_expiry": 901,
"max_allowed_expiry": 901
}
}
}
},
"google-apps": {
"connection_config": {},
"enabled_features": [
"scim"
],
"provisioning": {
"scim": {
"tokens": {
"scopes": [
"get:users"
],
"default_expiry": 901,
"max_allowed_expiry": 901
}
}
}
},
"oidc": {
"connection_config": {},
"enabled_features": [
"scim"
],
"provisioning": {
"scim": {
"tokens": {
"scopes": [
"get:users"
],
"default_expiry": 901,
"max_allowed_expiry": 901
}
}
}
},
"okta": {
"connection_config": {},
"enabled_features": [
"scim"
],
"provisioning": {
"scim": {
"tokens": {
"scopes": [
"get:users"
],
"default_expiry": 901,
"max_allowed_expiry": 901
}
}
}
},
"pingfederate": {
"connection_config": {},
"enabled_features": [
"scim"
],
"provisioning": {
"scim": {
"tokens": {
"scopes": [
"get:users"
],
"default_expiry": 901,
"max_allowed_expiry": 901
}
}
}
},
"samlp": {
"connection_config": {},
"enabled_features": [
"scim"
],
"provisioning": {
"scim": {
"tokens": {
"scopes": [
"get:users"
],
"default_expiry": 901,
"max_allowed_expiry": 901
}
}
}
},
"waad": {
"connection_config": {},
"enabled_features": [
"scim"
],
"provisioning": {
"scim": {
"tokens": {
"scopes": [
"get:users"
],
"default_expiry": 901,
"max_allowed_expiry": 901
}
}
}
}
}
}Autorisations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Paramètres de chemin
ID du profil de connexion à récupérer.
Réponse
Enregistrement du profil de connexion existant.
Configuration de Connection Profile.
Modèle de préfixe du nom de la connexion.
15^(?!-)(?!.*--)(?:[a-zA-Z0-9-]|{org_id}|{org_name})*$Détermine si les administrateurs d’organisation peuvent activer l’accès interapplications (XAA) sur leurs fournisseurs d’identité.
Show child attributes
Show child attributes
Fonctionnalités activées pour le Connection Profile.
Énumération des fonctionnalités activées.
scim, universal_logout Identifiant du Connection Profile.
Nom du Connection Profile.
1 - 50Organization du Connection Profile.
Show child attributes
Show child attributes
Paramètres de fourniture pour les connexions créées à partir de ce profil.
Show child attributes
Show child attributes
Overrides propres à la stratégie pour cet attribut
Show child attributes
Show child attributes