no versions found for AlierOnNodeReferences / web/webentity_getChallenges / en

WebEntity: getChallenges()

対象の WebEntity が提供するすべての認証プロトコルのチャレンジのリストを取得します。

この関数は非同期関数です。

構文

webEntity.getChallenges() => Promise<string[]>

返値: Promise<string[]>

対象の WebEntity が提供するすべての認証プロトコルのチャレンジ[^challenge]のリストです。

解説

返値にはコンストラクタの引数 o.authProtocols に指定された AbstractAuthProtocol のインスタンスを対象とする getChallenge() メソッドの返値が使用されます。