# Uses of Class
net.shibboleth.idp.plugin.authn.webauthn.context.WebAuthnRegistrationContext

Packages that use WebAuthnRegistrationContext
Package
Description
net.shibboleth.idp.plugin.authn.webauthn.admin.impl
This package has audit functions for WebAuthn.
net.shibboleth.idp.plugin.authn.webauthn.audit
Audit function APIs for WebAuthn.
net.shibboleth.idp.plugin.authn.webauthn.audit.impl
This package has administrative functions for WebAuthn.
net.shibboleth.idp.plugin.authn.webauthn.context
Context APIs for WebAuthn.

## Uses of WebAuthnRegistrationContext in net.shibboleth.idp.plugin.authn.webauthn.admin.impl

Fields in net.shibboleth.idp.plugin.authn.webauthn.admin.impl with type parameters of type WebAuthnRegistrationContext
Modifier and Type
Field
Description
`private Function<ProfileRequestContext,WebAuthnRegistrationContext>`
PopulateWebAuthnRegistrationContext.`webAuthnRegistrationContextCreationStrategy`
Strategy used to locate or create the `WebAuthnRegistrationContext` to populate.
`private Function<ProfileRequestContext,WebAuthnRegistrationContext>`
AllowCurrentUserAccessPredicate.`webauthnRegistrationContextLookupStrategy`
Lookup strategy to locate the WebAuthn registration context.
`private Function<ProfileRequestContext,WebAuthnRegistrationContext>`
RegistrationContextCredentialRemovalConsumer.`webauthnRegistrationContextLookupStrategy`
Lookup strategy to locate the webauthn registration context.
`private Function<ProfileRequestContext,WebAuthnRegistrationContext>`
RegistrationContextCredentialToModifyConsumer.`webauthnRegistrationContextLookupStrategy`
Lookup strategy to locate the WebAuthn registration context.
Methods in net.shibboleth.idp.plugin.authn.webauthn.admin.impl with parameters of type WebAuthnRegistrationContext
Modifier and Type
Method
Description
`protected void`
AddAttestationConveyancePreference.`doExecute(ProfileRequestContext profileRequestContext, WebAuthnRegistrationContext context)`
Performs this WebAuthn authentication action using the supplied WebAuthn context.
`protected void`
AddAuthenticatorAttachmentRequirement.`doExecute(ProfileRequestContext profileRequestContext, WebAuthnRegistrationContext context)`
Performs this WebAuthn authentication action using the supplied WebAuthn context.
`protected void`
AddDisplayName.`doExecute(ProfileRequestContext profileRequestContext, WebAuthnRegistrationContext context)`
Performs this WebAuthn authentication action using the supplied WebAuthn context.
`protected void`
AddNicknameRequired.`doExecute(ProfileRequestContext profileRequestContext, WebAuthnRegistrationContext context)`
Performs this WebAuthn authentication action using the supplied WebAuthn context.
`protected void`
AddResidentKeyRequirement.`doExecute(ProfileRequestContext profileRequestContext, WebAuthnRegistrationContext context)`
Performs this WebAuthn authentication action using the supplied WebAuthn context.
`protected void`
AddUserId.`doExecute(ProfileRequestContext profileRequestContext, WebAuthnRegistrationContext context)`
Performs this WebAuthn authentication action using the supplied WebAuthn context.
`protected void`
AddUserName.`doExecute(ProfileRequestContext profileRequestContext, WebAuthnRegistrationContext context)`
Performs this WebAuthn authentication action using the supplied WebAuthn context.
`protected void`
CheckRegistrationPolicy.`doExecute(ProfileRequestContext profileRequestContext, WebAuthnRegistrationContext context)`
`protected void`
CreatePublicKeyCredentialCreationOptions.`doExecute(ProfileRequestContext profileRequestContext, WebAuthnRegistrationContext context)`
`protected void`
DeletePublicKeyCredential.`doExecute(ProfileRequestContext profileRequestContext, WebAuthnRegistrationContext context)`
`protected void`
ExtractNicknameFromFormRequest.`doExecute(ProfileRequestContext profileRequestContext, WebAuthnRegistrationContext context)`
`protected void`
ExtractPublicKeyCredentialAttestationFromFormRequest.`doExecute(ProfileRequestContext profileRequestContext, WebAuthnRegistrationContext context)`
`protected void`
StorePublicKeyCredential.`doExecute(ProfileRequestContext profileRequestContext, WebAuthnRegistrationContext context)`
`protected void`
UpdateCredentialNickname.`doExecute(ProfileRequestContext profileRequestContext, WebAuthnRegistrationContext context)`
`protected void`
ValidateAuthenticatorAttestationResponse.`doExecute(ProfileRequestContext profileRequestContext, WebAuthnRegistrationContext context)`
`protected boolean`
AddDisplayName.`doPreExecute(ProfileRequestContext profileRequestContext, WebAuthnRegistrationContext context)`
Performs this authentication action's pre-execute step.
`protected boolean`
AddUserId.`doPreExecute(ProfileRequestContext profileRequestContext, WebAuthnRegistrationContext context)`
Performs this authentication action's pre-execute step.
`protected boolean`
AddUserName.`doPreExecute(ProfileRequestContext profileRequestContext, WebAuthnRegistrationContext context)`
Performs this authentication action's pre-execute step.
`protected boolean`
CheckRegistrationPolicy.`doPreExecute(ProfileRequestContext profileRequestContext, WebAuthnRegistrationContext context)`
Performs this authentication action's pre-execute step.
`protected boolean`
ValidateAuthenticatorAttestationResponse.`doPreExecute(ProfileRequestContext profileRequestContext, WebAuthnRegistrationContext context)`
Performs this authentication action's pre-execute step.
`private void`
StorePublicKeyCredential.`logRegistration(WebAuthnRegistrationContext context, String username, RegistrationResult registrationResult)`
Log a successful registration event.
Method parameters in net.shibboleth.idp.plugin.authn.webauthn.admin.impl with type arguments of type WebAuthnRegistrationContext
Modifier and Type
Method
Description
`void`
PopulateWebAuthnRegistrationContext.`setWebAuthnRegistrationContextCreationStrategy(Function<ProfileRequestContext,WebAuthnRegistrationContext> strategy)`
Set the strategy used to lookup or create the WebAuthn registration context.
`void`
AllowCurrentUserAccessPredicate.`setWebauthnRegistrationContextLookupStrategy(Function<ProfileRequestContext,WebAuthnRegistrationContext> strategy)`
Set the WebAuthn registration context lookup strategy to use.
`void`
RegistrationContextCredentialRemovalConsumer.`setWebauthnRegistrationContextLookupStrategy(Function<ProfileRequestContext,WebAuthnRegistrationContext> strategy)`
Set WebAuthn registration context lookup strategy to use.
`void`
RegistrationContextCredentialToModifyConsumer.`setWebauthnRegistrationContextLookupStrategy(Function<ProfileRequestContext,WebAuthnRegistrationContext> strategy)`
Set WebAuthn registration context lookup strategy to use.

## Uses of WebAuthnRegistrationContext in net.shibboleth.idp.plugin.authn.webauthn.audit

Fields in net.shibboleth.idp.plugin.authn.webauthn.audit with type parameters of type WebAuthnRegistrationContext
Modifier and Type
Field
Description
`private final Function<ProfileRequestContext,WebAuthnRegistrationContext>`
AbstractWebAuthnRegistrationAuditExtractor.`webAuthnRegistrationContextLookupStrategy`
Lookup strategy to locate the WebAuthn registration context.
Methods in net.shibboleth.idp.plugin.authn.webauthn.audit with parameters of type WebAuthnRegistrationContext
Modifier and Type
Method
Description
`protected abstract T`
AbstractWebAuthnRegistrationAuditExtractor.`doLookup(WebAuthnRegistrationContext context)`
Implemented to perform the actual lookup.
Constructor parameters in net.shibboleth.idp.plugin.authn.webauthn.audit with type arguments of type WebAuthnRegistrationContext
Modifier
Constructor
Description
`protected`
`AbstractWebAuthnRegistrationAuditExtractor(Function<ProfileRequestContext,WebAuthnRegistrationContext> strategy)`
Constructor.

## Uses of WebAuthnRegistrationContext in net.shibboleth.idp.plugin.authn.webauthn.audit.impl

Methods in net.shibboleth.idp.plugin.authn.webauthn.audit.impl with parameters of type WebAuthnRegistrationContext
Modifier and Type
Method
Description
`protected String`
WebAuthnUserCredentialAddedAuditExtractor.`doLookup(WebAuthnRegistrationContext context)`
Implemented to perform the actual lookup.
`protected String`
WebAuthnUserCredentialToRemoveAuditExtractor.`doLookup(WebAuthnRegistrationContext context)`
Implemented to perform the actual lookup.
Constructor parameters in net.shibboleth.idp.plugin.authn.webauthn.audit.impl with type arguments of type WebAuthnRegistrationContext
Modifier
Constructor
Description
``
`WebAuthnUserCredentialAddedAuditExtractor(Function<ProfileRequestContext,WebAuthnRegistrationContext> strategy)`
Constructor.
``
`WebAuthnUserCredentialToRemoveAuditExtractor(Function<ProfileRequestContext,WebAuthnRegistrationContext> strategy)`
Constructor.

## Uses of WebAuthnRegistrationContext in net.shibboleth.idp.plugin.authn.webauthn.context

Methods in net.shibboleth.idp.plugin.authn.webauthn.context that return WebAuthnRegistrationContext
Modifier and Type
Method
Description
`WebAuthnRegistrationContext`
WebAuthnRegistrationContext.`setAuthenticatorAttachmentRequirement(com.yubico.webauthn.data.AuthenticatorAttachment requirement)`
Set the authenticator attachment requirement.
`WebAuthnRegistrationContext`
WebAuthnRegistrationContext.`setCredentialIdToModify(byte[] id)`
Set the ID of the credential that is going to be modified.
`WebAuthnRegistrationContext`
WebAuthnRegistrationContext.`setCredentialIdToRemove(byte[] id)`
Deprecated, for removal: This API element is subject to removal in a future version.
Use `setCredentialIdToModify(byte[])` instead
`WebAuthnRegistrationContext`
WebAuthnRegistrationContext.`setCredentialNickname(String nickname)`
Set the display friendly nickname for this credential.
`WebAuthnRegistrationContext`
WebAuthnRegistrationContext.`setPublicKeyCredentialAttestationResponse(com.yubico.webauthn.data.PublicKeyCredential<com.yubico.webauthn.data.AuthenticatorAttestationResponse,com.yubico.webauthn.data.ClientRegistrationExtensionOutputs> pkCredAttestation)`
Set the public key credential containing the attestation response as a result of creating a new credential.
`WebAuthnRegistrationContext`
WebAuthnRegistrationContext.`setPublicKeyCredentialCreationOptions(com.yubico.webauthn.data.PublicKeyCredentialCreationOptions options)`
Set the options used to create public key credentials.
`WebAuthnRegistrationContext`
WebAuthnRegistrationContext.`setRegistrationResult(RegistrationResult result)`
Set the registration result which is the result of registration of a new key pair generated by an authenticator.
`WebAuthnRegistrationContext`
WebAuthnRegistrationContext.`setResidentKeyRequirement(com.yubico.webauthn.data.ResidentKeyRequirement requirement)`
Set the ResidentKey requirement.