OAuthCredentialOptions interface

OAuthCredentialを初期化するためのオプションを定義します

nonce クレームを持つ ID トークンの場合は、生の nonce も提供する必要があります。

サイン:

export interface OAuthCredentialOptions 

プロパティ

財産タイプ説明
アクセストークンOAuthCredentialの初期化に使用される OAuth アクセス トークン
idトークンOAuthCredentialの初期化に使用される OAuth ID トークン
rawノンスID トークンに関連付けられた生の nonce。

OAuthCredentialOptions.accessToken

OAuthCredentialの初期化に使用される OAuth アクセス トークン

サイン:

accessToken?: string;

OAuthCredentialOptions.idToken

OAuthCredentialの初期化に使用される OAuth ID トークン

サイン:

idToken?: string;

OAuthCredentialOptions.rawNonce

ID トークンに関連付けられた生の nonce。

nonce フィールドを持つ ID トークンが提供される場合に必要です。生の nonce の SHA-256 ハッシュは、ID トークンの nonce フィールドと一致する必要があります。

サイン:

rawNonce?: string;