@GetMapping(produces = MediaType.APPLICATION_JSON_VALUE)
    @Operation(summary = "Get all Yubikey accounts")
    public Collection<? extends YubiKeyAccount> load() {
        return registry.getObject().getAccounts();
    }
Load account collection.

@return the collection
support/cas-server-support-yubikey-core/src/main/java/org/apereo/cas/adaptors/yubikey/registry/YubiKeyAccountRegistryEndpoint.java