コンテンツにスキップ

あくまで管理人個人が勝手に書き殴っているメモなので、誤謬・誤植・誤解も含め、記述内容の正確性を一切保証しません。責任を負いません。問い合わせ等を受け付けません

これは、このWebサイトの読者が、このWebサイトにある記述内容を一方的・盲目的に信用したことが原因で、読者に事故や損害を与えた場合も含みます。万が一にも参考にする場合は、事前に読者による計算や実験を必須とします。ここでいう計算や実験が何であるかを理解できていない方は、まずそれを理解することから始めて下さい。なお、このWebサイトには、計算や実験が何であるかを理解できるような記述はありません。

各戸に引き込まれている商用電力はもちろん、市販されている電池を電源として使う場合でも、計算や操作の僅かなミスが事故や損害に繋がります。くれぐれも注意して下さい。

MediaWiki:Api-help-authmanager-general-usage

提供: アナログ回路研究資料

The general procedure to use this module is:

  1. Fetch the fields available from action=query&meta=authmanagerinfo with amirequestsfor=$4, and a $5 token from action=query&meta=tokens.
  2. Present the fields to the user, and obtain their submission.
  3. Post to this module, supplying $1returnurl and any relevant fields.
  4. Check the status in the response.
    • If you received PASS or FAIL, you're done. The operation either succeeded or it didn't.
    • If you received UI, present the new fields to the user and obtain their submission. Then post to this module with $1continue and the relevant fields set, and repeat step 4.
    • If you received REDIRECT, direct the user to the redirecttarget and wait for the return to $1returnurl. Then post to this module with $1continue and any fields passed to the return URL, and repeat step 4.
    • If you received RESTART, that means the authentication worked but we don't have a linked user account. You might treat this as UI or as FAIL.