private String getEndpointUrl(final String path) {
        val endpoint = getTrustedDevicesMultifactorProperties().getRest().getUrl();
        return StringUtils.appendIfMissing(endpoint, "/").concat(StringUtils.defaultString(path));
    }
This is {@link RestMultifactorAuthenticationTrustStorage}.

@author Misagh Moayyed
@since 5.0.0
support/cas-server-support-trusted-mfa-rest/src/main/java/org/apereo/cas/trusted/authentication/storage/RestMultifactorAuthenticationTrustStorage.java