マイクロソフト系技術情報 Wiki」は、「Open棟梁Project」,「OSSコンソーシアム .NET開発基盤部会」によって運営されています。

目次

概要

詳細

登録(RegistrationでAttestation)

認証(AuthenticationでAssertion)

仕様

登場人物

ユーザ

依拠当事者(Relying Party)

認証器(Authenticator)

クライアント

仕組み

儀式であり、

この儀式では、

が共同した、

ユーザの存在またはユーザ確認のテスト(式典)

が必要になる。

各種鍵(Credential)

ユーザの存在またはユーザ確認のテスト(式典)

登録(RegistrationでAttestation)と、
認証(AuthenticationでAssertion)では、
以下のような、存在 vs 認証を行う。

登録(RegistrationでAttestation)

認証(AuthenticationでAssertion)

依存

データ

その他

API

登録(Attestation): navigator.credentials.create()メソッド

内部で、authenticatorMakeCredential?を呼び出す。

引数:PublicKeyCredentialCreationOptions?

戻り値:AuthenticatorAttestationResponse?

厳密には、PublicKeyCredential?.responseに、
AuthenticatorResponse? <- AuthenticatorAttestationResponse? を含む、
PublicKeyCredential? に解決する Promiseを返す。

認証(Assertion): navigator.credentials.get()メソッド

内部で、authenticatorGetAssertion?を呼び出す。

引数:PublicKeyCredentialRequestOptions?

戻り値:AuthenticatorAssertionResponse?

厳密には、PublicKeyCredential?.responseに、
AuthenticatorResponse? <- AuthenticatorAssertionResponse? を含む、
PublicKeyCredential? に解決する Promiseを返す。

実装例

サーバ実装パターン

IdPが実装

IdPに集約可能で楽。

RP & BaaS

折衷案(RPがWebAuthn認証、BaaSが公開鍵の管理)

RPが実装

IdPのコントロールが効かない場合。

WebAuthn?で実現できるUX

2FAのUserExperience

PasswordlessのUserExperience

参考

w3c

MDN - Web APIs

Credential Management API

Web Authentication API

Credential Management API中のPublicKeyCredential?を拡張したもの。

webauthn.org

OAuth0

仕組みをアニメーションで解り易く説明している。

fido2-net-lib

.NET standard の Web Authentication API対応ライブラリ。

Yubico

blog.jxck.io

enjoy struggling

(株)ソフト技研

ritou

Speaker Deck

r-weblife

Qiita

enjoy struggling


Tags: :IT国際標準, :認証基盤


トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS