Go
Hooks を作成
新しい Hook を作成します。
POST
Go
承認
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
ボディ
この Hook の名前。
Pattern:
^[a-zA-Z0-9]([ \-a-zA-Z0-9]*[a-zA-Z0-9])?$script
string
デフォルト:module.exports = function(client, scope, audience, context, cb) cb(null, access_token); };
必須
この Hook の実行時に実行されるコード。
Minimum string length:
1この Rule の実行ステージ。credentials-exchange、pre-user-registration、post-user-registration、post-change-password、または send-phone-message を指定できます。
利用可能なオプション:
credentials-exchange, pre-user-registration, post-user-registration, post-change-password, send-phone-message webtaskサーバーで使用される、このHookの依存関係。
この Hook を実行するか(true)、無視するか(false)を示します。
レスポンス
Hook が正常に作成されました。
webtaskサーバーで使用される、このHookの依存関係。
この Hook を実行するか(true)、無視するか(false)を示します。
この Hook の ID。
この Hook の名前。
script
string
デフォルト:module.exports = function(client, scope, audience, context, cb) cb(null, access_token); };
この Hook の実行時に実行されるコード。
トリガー ID