共用方式為


Authenticator type

警告

此 API 現已淘汰。

The Authenticator type is not currently in use.

接收挑戰並解決具有字串令牌之承諾的函式。

type Authenticator = (challenge: unknown) => Promise<string>