com.github.davidmoten.microsoft.authentication.AuthenticationEndpoint Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of odata-client-microsoft-client-builder Show documentation
Show all versions of odata-client-microsoft-client-builder Show documentation
Builds client for Microsoft Graph 1.0 and Beta, includes MsGraph authentication support
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