All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.yestech.rpx.auth.MicrosoftLiveProvider Maven / Gradle / Ivy

The newest version!
package org.yestech.rpx.auth;

import static org.yestech.rpx.objectmodel.RPXUtil.uriEncode;

/**
 * @author A.J. Wright
 */
public class MicrosoftLiveProvider implements RPXAuthProvider {

    public static final String URL_PATTERN = "https://%s.rpxnow.com/liveid/start?token_url=%s";

    @Override
    public String getRedirectUrl(String realm, String tokenUrl) {
        return String.format(URL_PATTERN, realm, uriEncode(tokenUrl));
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy