メインコンテンツへスキップ
デバイスコード確認画面の機能を実装するクラスです。 この画面は、ユーザーがデバイスコードを確認する必要がある際に表示されます。
Example
import DeviceCodeConfirmation from '@auth0/auth0-acul-js/device-code-confirmation';
const deviceCodeConfirmation = new DeviceCodeConfirmation();

コンストラクター

DeviceCodeConfirmation
Constructor
DeviceCodeConfirmation 画面のインスタンスを作成します。

プロパティ

branding
client
organization
prompt
screen
tenant
transaction
untrustedData
user
screenIdentifier
string

メソッド

cancel
Promise<void>
デバイスコードフローをキャンセルします。
Example
import DeviceCodeConfirmation from '@auth0/auth0-acul-js/device-code-confirmation';

const deviceCodeConfirmation = new DeviceCodeConfirmation();
await deviceCodeConfirmation.cancel();
confirm
Promise<void>
デバイスコードを確定します。
Example
import DeviceCodeConfirmation from '@auth0/auth0-acul-js/device-code-confirmation';

const deviceCodeConfirmation = new DeviceCodeConfirmation();
await deviceCodeConfirmation.confirm();
getErrors
コンテキストからトランザクションエラーの配列を取得します。存在しない場合は空の配列を返します。トランザクションコンテキストから取得されるエラーオブジェクトの配列です。