C#
using Auth0.ManagementApi;
using System.Threading.Tasks;
using Auth0.ManagementApi.Prompts;
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.Prompts.Rendering.ListAsync(
new ListAculsRequestParameters {
Fields = "fields",
IncludeFields = true,
Page = 1,
PerPage = 1,
IncludeTotals = true,
Prompt = "prompt",
Screen = "screen",
RenderingMode = AculRenderingModeEnum.Advanced
}
);
}
}
package example
import (
context "context"
management "github.com/auth0/go-auth0/v3/management"
client "github.com/auth0/go-auth0/v3/management/client"
option "github.com/auth0/go-auth0/v3/management/option"
)
func do() {
mgmt, err := client.New(
"{YOUR_DOMAIN}",
option.WithToken(
"<token>",
),
)
if err != nil {
return
}
request := &management.ListAculsRequestParameters{
Fields: management.String(
"fields",
),
IncludeFields: management.Bool(
true,
),
Page: management.Int(
1,
),
PerPage: management.Int(
1,
),
IncludeTotals: management.Bool(
true,
),
Prompt: management.String(
"prompt",
),
Screen: management.String(
"screen",
),
RenderingMode: management.AculRenderingModeEnumAdvanced.Ptr(),
}
mgmt.Prompts.Rendering.List(
context.TODO(),
request,
)
}
package com.example.usage;
import com.auth0.client.mgmt.ManagementApi;
import com.auth0.client.mgmt.prompts.types.ListAculsRequestParameters;
import com.auth0.client.mgmt.types.AculRenderingModeEnum;
public class Example {
public static void main(String[] args) {
ManagementApi client = ManagementApi
.builder()
.domain("{YOUR_DOMAIN}")
.token("<token>")
.build();
client.prompts().rendering().list(
ListAculsRequestParameters
.builder()
.fields("fields")
.includeFields(true)
.page(1)
.perPage(1)
.includeTotals(true)
.prompt("prompt")
.screen("screen")
.renderingMode(AculRenderingModeEnum.ADVANCED)
.build()
);
}
}<?php
namespace Example;
use Auth0\SDK\API\Management\Wrapper\ManagementClient;
use Auth0\SDK\API\Management\Wrapper\ManagementClientOptions;
use Auth0\SDK\API\Management\Prompts\Rendering\Requests\ListAculsRequestParameters;
use Auth0\SDK\API\Management\Types\AculRenderingModeEnum;
$client = new ManagementClient(new ManagementClientOptions(
domain: '{YOUR_DOMAIN}',
token: '<token>',
));
$client->prompts->rendering->list(
new ListAculsRequestParameters([
'fields' => 'fields',
'includeFields' => true,
'page' => 1,
'perPage' => 1,
'includeTotals' => true,
'prompt' => 'prompt',
'screen' => 'screen',
'renderingMode' => AculRenderingModeEnum::Advanced->value,
]),
);
from auth0.management import ManagementClient
client = ManagementClient(
domain="{YOUR_DOMAIN}",
token="<token>",
)
client.prompts.rendering.list(
fields="fields",
include_fields=True,
page=1,
per_page=1,
include_totals=True,
prompt="prompt",
screen="screen",
rendering_mode="advanced",
)
require "auth0"
client = Auth0::Management.new(token: "<token>", base_url: "https://{YOUR_DOMAIN}/api/v2")
client.prompts.rendering.list(
fields: "fields",
include_fields: true,
page: 1,
per_page: 1,
include_totals: true,
prompt: "prompt",
screen: "screen",
rendering_mode: "advanced"
)
import { ManagementClient } from "auth0";
async function main() {
const client = new ManagementClient({
domain: "{YOUR_DOMAIN}",
token: "<token>",
});
await client.prompts.rendering.list({
fields: "fields",
includeFields: true,
page: 1,
perPage: 1,
includeTotals: true,
prompt: "prompt",
screen: "screen",
renderingMode: "advanced",
});
}
main();
import { ManagementClient } from "auth0";
async function main() {
const client = new ManagementClient({
domain: "{YOUR_DOMAIN}",
token: "<token>",
});
await client.prompts.rendering.list({
fields: "fields",
includeFields: true,
page: 1,
perPage: 1,
includeTotals: true,
prompt: "prompt",
screen: "screen",
renderingMode: "advanced",
});
}
main();
curl --request GET \
--url https://{tenantDomain}/api/v2/prompts/rendering \
--header 'Authorization: Bearer <token>'[
{
"context_configuration": [],
"default_head_tags_disabled": false,
"filters": {
"clients": [
{
"id": "<string>"
}
],
"domains": [
{
"id": "<string>"
}
],
"organizations": [
{
"id": "<string>"
}
]
},
"head_tags": [
{
"attributes": {},
"content": "<string>",
"tag": "<string>"
}
],
"prompt": "<string>",
"screen": "<string>",
"tenant": "<string>",
"use_page_template": false
}
]すべてのレンダリングを取得
すべての画面のレンダリング設定を取得します。
GET
https://{tenantDomain}/api/v2
/
prompts
/
rendering
C#
using Auth0.ManagementApi;
using System.Threading.Tasks;
using Auth0.ManagementApi.Prompts;
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.Prompts.Rendering.ListAsync(
new ListAculsRequestParameters {
Fields = "fields",
IncludeFields = true,
Page = 1,
PerPage = 1,
IncludeTotals = true,
Prompt = "prompt",
Screen = "screen",
RenderingMode = AculRenderingModeEnum.Advanced
}
);
}
}
package example
import (
context "context"
management "github.com/auth0/go-auth0/v3/management"
client "github.com/auth0/go-auth0/v3/management/client"
option "github.com/auth0/go-auth0/v3/management/option"
)
func do() {
mgmt, err := client.New(
"{YOUR_DOMAIN}",
option.WithToken(
"<token>",
),
)
if err != nil {
return
}
request := &management.ListAculsRequestParameters{
Fields: management.String(
"fields",
),
IncludeFields: management.Bool(
true,
),
Page: management.Int(
1,
),
PerPage: management.Int(
1,
),
IncludeTotals: management.Bool(
true,
),
Prompt: management.String(
"prompt",
),
Screen: management.String(
"screen",
),
RenderingMode: management.AculRenderingModeEnumAdvanced.Ptr(),
}
mgmt.Prompts.Rendering.List(
context.TODO(),
request,
)
}
package com.example.usage;
import com.auth0.client.mgmt.ManagementApi;
import com.auth0.client.mgmt.prompts.types.ListAculsRequestParameters;
import com.auth0.client.mgmt.types.AculRenderingModeEnum;
public class Example {
public static void main(String[] args) {
ManagementApi client = ManagementApi
.builder()
.domain("{YOUR_DOMAIN}")
.token("<token>")
.build();
client.prompts().rendering().list(
ListAculsRequestParameters
.builder()
.fields("fields")
.includeFields(true)
.page(1)
.perPage(1)
.includeTotals(true)
.prompt("prompt")
.screen("screen")
.renderingMode(AculRenderingModeEnum.ADVANCED)
.build()
);
}
}<?php
namespace Example;
use Auth0\SDK\API\Management\Wrapper\ManagementClient;
use Auth0\SDK\API\Management\Wrapper\ManagementClientOptions;
use Auth0\SDK\API\Management\Prompts\Rendering\Requests\ListAculsRequestParameters;
use Auth0\SDK\API\Management\Types\AculRenderingModeEnum;
$client = new ManagementClient(new ManagementClientOptions(
domain: '{YOUR_DOMAIN}',
token: '<token>',
));
$client->prompts->rendering->list(
new ListAculsRequestParameters([
'fields' => 'fields',
'includeFields' => true,
'page' => 1,
'perPage' => 1,
'includeTotals' => true,
'prompt' => 'prompt',
'screen' => 'screen',
'renderingMode' => AculRenderingModeEnum::Advanced->value,
]),
);
from auth0.management import ManagementClient
client = ManagementClient(
domain="{YOUR_DOMAIN}",
token="<token>",
)
client.prompts.rendering.list(
fields="fields",
include_fields=True,
page=1,
per_page=1,
include_totals=True,
prompt="prompt",
screen="screen",
rendering_mode="advanced",
)
require "auth0"
client = Auth0::Management.new(token: "<token>", base_url: "https://{YOUR_DOMAIN}/api/v2")
client.prompts.rendering.list(
fields: "fields",
include_fields: true,
page: 1,
per_page: 1,
include_totals: true,
prompt: "prompt",
screen: "screen",
rendering_mode: "advanced"
)
import { ManagementClient } from "auth0";
async function main() {
const client = new ManagementClient({
domain: "{YOUR_DOMAIN}",
token: "<token>",
});
await client.prompts.rendering.list({
fields: "fields",
includeFields: true,
page: 1,
perPage: 1,
includeTotals: true,
prompt: "prompt",
screen: "screen",
renderingMode: "advanced",
});
}
main();
import { ManagementClient } from "auth0";
async function main() {
const client = new ManagementClient({
domain: "{YOUR_DOMAIN}",
token: "<token>",
});
await client.prompts.rendering.list({
fields: "fields",
includeFields: true,
page: 1,
perPage: 1,
includeTotals: true,
prompt: "prompt",
screen: "screen",
renderingMode: "advanced",
});
}
main();
curl --request GET \
--url https://{tenantDomain}/api/v2/prompts/rendering \
--header 'Authorization: Bearer <token>'[
{
"context_configuration": [],
"default_head_tags_disabled": false,
"filters": {
"clients": [
{
"id": "<string>"
}
],
"domains": [
{
"id": "<string>"
}
],
"organizations": [
{
"id": "<string>"
}
]
},
"head_tags": [
{
"attributes": {},
"content": "<string>",
"tag": "<string>"
}
],
"prompt": "<string>",
"screen": "<string>",
"tenant": "<string>",
"use_page_template": false
}
]承認
bearerAuthoAuth2ClientCredentials
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
クエリパラメータ
結果に含める、または除外するフィールドのカンマ区切りリストです(include_fields に指定した値に応じます)。すべてのフィールドを取得するには空のままにしてください。
指定したフィールドを含めるか(デフォルト: true)、除外するか(false)を指定します。
返される結果のページ インデックスです。最初のページは 0 です。
必須範囲:
x >= 01 ページあたりの結果数です。最大値は 100、デフォルト値は 50 です。
必須範囲:
1 <= x <= 100結果を、設定の総数を含むオブジェクト内に返すか(true)、結果の配列をそのまま返すか(false、デフォルト)を指定します。
絞り込み対象のプロンプト名
絞り込み対象の画面名
絞り込み対象のレンダリング モード 絞り込みに使用するレンダリングモード
利用可能なオプション:
advanced, standard レスポンス
ACUL 設定を正常に取得しました。
- object[]
- object
利用可能にするコンテキスト値
静的なコンテキスト値
利用可能なオプション:
branding.settings, branding.themes.default, country_codes, client.logo_uri, client.description, organization.display_name, organization.branding, screen.texts, tenant.name, tenant.friendly_name, tenant.logo_url, tenant.enabled_locales, untrusted_data.submitted_form_data, untrusted_data.authorization_params.login_hint, untrusted_data.authorization_params.screen_hint, untrusted_data.authorization_params.ui_locales, user.organizations, transaction.custom_domain.domain, experiment Universal Login のデフォルトの head タグを上書き
レンダリングルールを特定のエンティティに適用するための省略可能なフィルター
Show child attributes
Show child attributes
head タグの配列
Show child attributes
Show child attributes
prompt の名前
レンダリングモード
利用可能なオプション:
advanced, standard 画面の名前
Tenant ID
ACUL でページテンプレートを使用
⌘I