@GetMapping(value = "/{username}", produces = MediaType.APPLICATION_JSON_VALUE)
    @Operation(summary = "Get collection of trusted devices for the user",
        parameters = @Parameter(name = "username", required = true, in = ParameterIn.PATH, description = "The username to look up"))
    public Set<? extends MultifactorAuthenticationTrustRecord> devicesForUser(@PathVariable(name = "username") final String username) {
        cleanExpiredRecords();
        return mfaTrustEngine.getObject().get(username);
    }
Devices for user.

@param username the username
@return the set
support/cas-server-support-trusted-mfa-core/src/main/java/org/apereo/cas/trusted/web/MultifactorAuthenticationTrustedDevicesReportEndpoint.java