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

com.github.davidmoten.microsoft.authentication.AuthenticationEndpoint Maven / Gradle / Ivy

There is a newer version: 0.2.2
Show newest version
package com.github.davidmoten.microsoft.authentication;

import com.github.davidmoten.guavamini.Preconditions;

public enum AuthenticationEndpoint {

    GLOBAL("https://login.microsoftonline.com/"), //
    GLOBAL2("https://login.windows.net/"), //
    CHINA("https://login.chinacloudapi.cn/"), //
    GERMANY("https://login.microsoftonline.de/"), //
    US_GOVERNMENT("https://login.microsoftonline.us/");

    private final String url;

    AuthenticationEndpoint(String url) {
        Preconditions.checkArgument(url.endsWith("/"));
        this.url = url;
    }

    public String url() {
        return url;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy