C#
using Auth0.ManagementApi;
using System.Threading.Tasks;
using Auth0.ManagementApi.Flows.Vault;
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.Flows.Vault.Connections.ListAsync(
new ListFlowsVaultConnectionsRequestParameters {
Page = 1,
PerPage = 1,
IncludeTotals = true
}
);
}
}package com.example.usage;
import com.auth0.client.mgmt.ManagementApi;
import com.auth0.client.mgmt.flows.vault.types.ListFlowsVaultConnectionsRequestParameters;
public class Example {
public static void main(String[] args) {
ManagementApi client = ManagementApi
.builder()
.domain("{YOUR_DOMAIN}")
.token("<token>")
.build();
client.flows().vault().connections().list(
ListFlowsVaultConnectionsRequestParameters
.builder()
.page(1)
.perPage(1)
.includeTotals(true)
.build()
);
}
}<?php
namespace Example;
use Auth0\SDK\API\Management\Wrapper\ManagementClient;
use Auth0\SDK\API\Management\Wrapper\ManagementClientOptions;
use Auth0\SDK\API\Management\Flows\Vault\Connections\Requests\ListFlowsVaultConnectionsRequestParameters;
$client = new ManagementClient(new ManagementClientOptions(
domain: '{YOUR_DOMAIN}',
token: '<token>',
));
$client->flows->vault->connections->list(
new ListFlowsVaultConnectionsRequestParameters([
'page' => 1,
'perPage' => 1,
'includeTotals' => true,
]),
);
from auth0.management import ManagementClient
client = ManagementClient(
domain="{YOUR_DOMAIN}",
token="<token>",
)
client.flows.vault.connections.list(
page=1,
per_page=1,
include_totals=True,
)
require "auth0"
client = Auth0::Management.new(token: "<token>", base_url: "https://{YOUR_DOMAIN}/api/v2")
client.flows.vault.connections.list(
page: 1,
per_page: 1,
include_totals: true
)
curl --request GET \
--url https://{tenantDomain}/api/v2/flows/vault/connections \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{tenantDomain}/api/v2/flows/vault/connections', 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/flows/vault/connections"
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))
}[
{
"app_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"fingerprint": "<string>",
"id": "<string>",
"name": "<string>",
"ready": true,
"updated_at": "2023-11-07T05:31:56Z",
"account_name": "<string>",
"refreshed_at": "2023-11-07T05:31:56Z"
}
]Flows Vault 接続を取得
GET
https://{tenantDomain}/api/v2
/
flows
/
vault
/
connections
C#
using Auth0.ManagementApi;
using System.Threading.Tasks;
using Auth0.ManagementApi.Flows.Vault;
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.Flows.Vault.Connections.ListAsync(
new ListFlowsVaultConnectionsRequestParameters {
Page = 1,
PerPage = 1,
IncludeTotals = true
}
);
}
}package com.example.usage;
import com.auth0.client.mgmt.ManagementApi;
import com.auth0.client.mgmt.flows.vault.types.ListFlowsVaultConnectionsRequestParameters;
public class Example {
public static void main(String[] args) {
ManagementApi client = ManagementApi
.builder()
.domain("{YOUR_DOMAIN}")
.token("<token>")
.build();
client.flows().vault().connections().list(
ListFlowsVaultConnectionsRequestParameters
.builder()
.page(1)
.perPage(1)
.includeTotals(true)
.build()
);
}
}<?php
namespace Example;
use Auth0\SDK\API\Management\Wrapper\ManagementClient;
use Auth0\SDK\API\Management\Wrapper\ManagementClientOptions;
use Auth0\SDK\API\Management\Flows\Vault\Connections\Requests\ListFlowsVaultConnectionsRequestParameters;
$client = new ManagementClient(new ManagementClientOptions(
domain: '{YOUR_DOMAIN}',
token: '<token>',
));
$client->flows->vault->connections->list(
new ListFlowsVaultConnectionsRequestParameters([
'page' => 1,
'perPage' => 1,
'includeTotals' => true,
]),
);
from auth0.management import ManagementClient
client = ManagementClient(
domain="{YOUR_DOMAIN}",
token="<token>",
)
client.flows.vault.connections.list(
page=1,
per_page=1,
include_totals=True,
)
require "auth0"
client = Auth0::Management.new(token: "<token>", base_url: "https://{YOUR_DOMAIN}/api/v2")
client.flows.vault.connections.list(
page: 1,
per_page: 1,
include_totals: true
)
curl --request GET \
--url https://{tenantDomain}/api/v2/flows/vault/connections \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{tenantDomain}/api/v2/flows/vault/connections', 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/flows/vault/connections"
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))
}[
{
"app_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"fingerprint": "<string>",
"id": "<string>",
"name": "<string>",
"ready": true,
"updated_at": "2023-11-07T05:31:56Z",
"account_name": "<string>",
"refreshed_at": "2023-11-07T05:31:56Z"
}
]承認
bearerAuthoAuth2ClientCredentials
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
クエリパラメータ
返される結果のページインデックス。最初のページは 0 です。
必須範囲:
0 <= x <= 10001 ページあたりの結果数。デフォルトは 50 です。
必須範囲:
1 <= x <= 100結果を、合計件数を含むオブジェクト内に返すか(true)、結果の配列を直接返すか(false、デフォルト)を指定します。
レスポンス
Vault 接続が正常に取得されました。
- object[]
- object
Flows Vault 接続のアプリ ID。
Required string length:
1 - 55この Flows Vault 接続が作成された日時(ISO 8601形式)。
Minimum string length:
1Flows Vault 接続の識別子。
Maximum string length:
30Flows Vault 接続名。
Required string length:
1 - 150Flows Vault 接続が設定されているかどうか。
この Flows Vault 接続が更新された日時(ISO 8601形式)。
Flows Vault 接続のカスタムアカウント名。
Required string length:
1 - 150この Flows Vault 接続が更新された日時(ISO 8601 形式)。
⌘I