AuthenticationHeaderParser class

これは、サポートされている HTTP 応答認証ヘッダーを解析して、基本的な承認フローの外部で使用できるヘッダー チャレンジ値を抽出して返すヘルパー クラスです。

メソッド

getShrNonce()

このメソッドは、Authentication-Info または WWW-Authenticate 認証ヘッダーから SHR nonce 値を解析します。

コンストラクターの詳細

AuthenticationHeaderParser(Record<string, string>)

new AuthenticationHeaderParser(headers: Record<string, string>)

パラメーター

headers

Record<string, string>

メソッドの詳細

getShrNonce()

このメソッドは、Authentication-Info または WWW-Authenticate 認証ヘッダーから SHR nonce 値を解析します。

function getShrNonce(): string

返品

string