@GetMapping(path = "/{username}", produces = MediaType.APPLICATION_JSON_VALUE)
    @Operation(summary = "Load and get all accounts for the user", parameters =
        @Parameter(name = "username", required = true, description = "The username to look up"))
    public Collection<? extends OneTimeTokenAccount> get(
        @PathVariable final String username) {
        return repository.getObject().get(username);
    }
Get one time token account.

@param username the username
@return the one time token account
support/cas-server-support-gauth-core/src/main/java/org/apereo/cas/gauth/credential/GoogleAuthenticatorTokenCredentialRepositoryEndpoint.java