ii. id: ユーザー固有のid iii. rp: リライングパーティ(クライアントアプリケーション)の情報 2-1. いくつかのパラメータを含めてnavigator.credentials.create()を呼び出す b. 今回のサンプルでは以下のパラメータを使用した c. rpのid, name d. userのid, name, displayName e. publicKeyのtype, alg(アルゴリズム) f. attestation(RPにAuthenticationデータを渡すかどうか) g. timeout時間 h. challenge(前述)
今回のサンプルでは以下のパラメータを利用した i. rpId ii. allowCredentials(許可されるCredentialのリスト) iii. timeout iv. challenge(前述) 2-2.ブラウザが内部的にauthenticatorのauthenticatorGetCredential()を呼び出 す
AuthenticatorがauthenticatorDataとassertionの署名をBrowserに返す 5. 認証情報がBrowserに返される 6. Serverが検証を行う(主に以下の検証が含まれる) a. rpIdがこのサービスで想定しているものか b. Authenticatorによって署名されたchallengeがserverによって生成されたも のと一致しているか c. 登録要求の際に保管した、Authenticatorによる署名を検証するための公開 鍵が用いられているか