Class PasskeyCredentialLabeller
java.lang.Object
net.shibboleth.idp.plugin.authn.webauthn.admin.impl.PasskeyCredentialLabeller
- All Implemented Interfaces:
BiFunction<EnhancedCredentialRecord,ProfileRequestContext, List<String>>
@ThreadSafe
public class PasskeyCredentialLabeller
extends Object
implements BiFunction<EnhancedCredentialRecord,ProfileRequestContext,List<String>>
A credential labeller function that labels credentials as 'Passkey' if they are discoverable.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(EnhancedCredentialRecord cred, ProfileRequestContext prc) voidSet the label to use.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.BiFunction
andThen
-
Field Details
-
DEFAULT_LABEL
The default label to use.- See Also:
-
label
The label to use.
-
-
Constructor Details
-
PasskeyCredentialLabeller
public PasskeyCredentialLabeller()Constructor.
-
-
Method Details
-
setLabel
Set the label to use.- Parameters:
labelIn- The label to set.
-
apply
public List<String> apply(@Nullable EnhancedCredentialRecord cred, @Nullable ProfileRequestContext prc) - Specified by:
applyin interfaceBiFunction<EnhancedCredentialRecord,ProfileRequestContext, List<String>>
-