インターフェース WebAuthnRelyingPartyOperations
- すべての既知の実装クラス:
Webauthn4JRelyingPartyOperations
public interface WebAuthnRelyingPartyOperations
WebAuthn 依存パーティ操作用の API
- 導入:
- 6.4
メソッドのサマリー
修飾子と型メソッド説明渡されたRelyingPartyAuthenticationRequestを認証するユーザーの認証に使用するPublicKeyCredentialRequestOptionsを作成します。新しい資格情報を登録するために使用されるPublicKeyCredentialCreationOptionsを作成します。registerCredential(RelyingPartyRegistrationRequest relyingPartyRegistrationRequest)
メソッドの詳細
createPublicKeyCredentialCreationOptions
PublicKeyCredentialCreationOptions createPublicKeyCredentialCreationOptions(PublicKeyCredentialCreationOptionsRequest request) 新しい資格情報を登録するために使用されるPublicKeyCredentialCreationOptionsを作成します。- パラメーター:
request-PublicKeyCredentialCreationOptionsRequestからPublicKeyCredentialCreationOptionsを作成する- 戻り値:
- 渡された
AuthenticationのPublicKeyCredentialCreationOptions。null にすることはできません。
registerCredential
CredentialRecord registerCredential(RelyingPartyRegistrationRequest relyingPartyRegistrationRequest) - パラメーター:
relyingPartyRegistrationRequest- 処理するRelyingPartyRegistrationRequest。- 戻り値:
- 新しい
CredentialRecord - 例外:
RuntimeExceptionSE-RelyingPartyRegistrationRequestが有効でない場合。
createCredentialRequestOptions
PublicKeyCredentialRequestOptions createCredentialRequestOptions(PublicKeyCredentialRequestOptionsRequest request) ユーザーの認証に使用するPublicKeyCredentialRequestOptionsを作成します。- パラメーター:
request-PublicKeyCredentialRequestOptionsRequest- 戻り値:
- ユーザーの認証に使用される
PublicKeyCredentialRequestOptions。
authenticate
渡されたRelyingPartyAuthenticationRequestを認証する- パラメーター:
request-RelyingPartyAuthenticationRequest- 戻り値:
- 認証が成功した場合のプリンシパル名(例: ユーザー名)
- 例外:
RuntimeExceptionSE- 認証が失敗した場合