Class ThirdPartyPaymentExtension
java.lang.Object
com.yubico.yubikit.fido.client.extensions.Extension
com.yubico.yubikit.fido.client.extensions.ThirdPartyPaymentExtension
Implements the Third-party payment authentication (thirdPartyPayment) CTAP2 extension.
This extension allows a Relying Party to indicate that a credential can be used for Payment authentication initiated by a party (website or native application) that is not the Relying Party.
Note that most of the processing for the WebAuthn extension needs to be done by the client. Therefore this extension is not included in the default extensions list, and should not be used without a client that supports the WebAuthn payment extension.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.yubico.yubikit.fido.client.extensions.Extension
Extension.AuthenticationInput, Extension.AuthenticationOutput, Extension.AuthenticationProcessor, Extension.RegistrationInput, Extension.RegistrationOutput, Extension.RegistrationProcessor
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAssertion
(Ctap2Session ctap, PublicKeyCredentialRequestOptions options, PinUvAuthProtocol pinUvAuthProtocol) makeCredential
(Ctap2Session ctap, PublicKeyCredentialCreationOptions options, PinUvAuthProtocol pinUvAuthProtocol) Methods inherited from class com.yubico.yubikit.fido.client.extensions.Extension
isSupported
-
Constructor Details
-
ThirdPartyPaymentExtension
public ThirdPartyPaymentExtension()
-
-
Method Details
-
makeCredential
@Nullable public Extension.RegistrationProcessor makeCredential(Ctap2Session ctap, PublicKeyCredentialCreationOptions options, PinUvAuthProtocol pinUvAuthProtocol) - Overrides:
makeCredential
in classExtension
-
getAssertion
@Nullable public Extension.AuthenticationProcessor getAssertion(Ctap2Session ctap, PublicKeyCredentialRequestOptions options, PinUvAuthProtocol pinUvAuthProtocol) - Overrides:
getAssertion
in classExtension
-