no versions found for AlierOnNodeReferences / auth/digestauthprotocol_getChallenge / en

DigestAuthProtocol: getChallenge()

Digest 認証に則ってチャレンジレスポンスのためのヘッダパラメタを取得します。

構文

authProtocol.getChallenge(reason) => string

引数

  • reason: object

    認証に失敗した理由です。Digest 認証では reason は使用されません。

返値: string

WWW-Authenticate レスポンスヘッダに付与するパラメタの文字列。詳しくは AbstractAuthProtocol::getChallenge() を参照してください。

解説

詳しくは AbstractAuthProtocol::getChallenge() を参照してください。