constants

package
v0.4.1-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 30, 2024 License: MPL-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Public Cloud
	PUBLIC_OAUTH_AUTHORITY_URL         = "https://login.microsoftonline.com/"
	PUBLIC_GRAPH_API_SCOPE             = "https://graph.microsoft.com/.default"
	PUBLIC_GRAPH_API_SERVICE_ROOT      = "https://graph.microsoft.com/v1.0"
	PUBLIC_GRAPH_BETA_API_SERVICE_ROOT = "https://graph.microsoft.com/beta"

	// US Department of Defense (DoD) Cloud
	USDOD_OAUTH_AUTHORITY_URL         = "https://login.microsoftonline.us/"
	USDOD_GRAPH_API_SCOPE             = "https://graph.microsoft.us/.default"
	USDOD_GRAPH_API_SERVICE_ROOT      = "https://dod-graph.microsoft.us/v1.0"
	USDOD_GRAPH_BETA_API_SERVICE_ROOT = "https://dod-graph.microsoft.us/beta"

	// US Government Cloud
	USGOV_OAUTH_AUTHORITY_URL         = "https://login.microsoftonline.com/"
	USGOV_GRAPH_API_SCOPE             = "https://graph.microsoft.us/.default"
	USGOV_GRAPH_API_SERVICE_ROOT      = "https://graph.microsoft.us/v1.0"
	USGOV_GRAPH_BETA_API_SERVICE_ROOT = "https://graph.microsoft.us/beta"

	// US Government High Cloud
	USGOVHIGH_OAUTH_AUTHORITY_URL         = "https://login.microsoftonline.us/"
	USGOVHIGH_GRAPH_API_SCOPE             = "https://graph.microsoft.us/.default"
	USGOVHIGH_GRAPH_API_SERVICE_ROOT      = "https://graph.microsoft.us/v1.0"
	USGOVHIGH_GRAPH_BETA_API_SERVICE_ROOT = "https://graph.microsoft.us/beta"

	// China Cloud - https://learn.microsoft.com/en-us/previous-versions/office/office-365-api/api/o365-china-endpoints
	CHINA_OAUTH_AUTHORITY_URL         = "https://login.chinacloudapi.cn/"
	CHINA_GRAPH_API_SCOPE             = "https://microsoftgraph.chinacloudapi.cn/.default"
	CHINA_GRAPH_API_SERVICE_ROOT      = "https://microsoftgraph.chinacloudapi.cn/v1.0"
	CHINA_GRAPH_BETA_API_SERVICE_ROOT = "https://microsoftgraph.chinacloudapi.cn/beta"

	// EagleX Cloud
	EX_OAUTH_AUTHORITY_URL         = "https://login.microsoftonline.eaglex.ic.gov/"
	EX_GRAPH_API_SCOPE             = "https://graph.eaglex.ic.gov/.default"
	EX_GRAPH_API_SERVICE_ROOT      = "https://graph.eaglex.ic.gov/v1.0"
	EX_GRAPH_BETA_API_SERVICE_ROOT = "https://graph.eaglex.ic.gov/beta"

	// Secure Cloud (RX)
	RX_OAUTH_AUTHORITY_URL         = "https://login.microsoftonline.microsoft.scloud/"
	RX_GRAPH_API_SCOPE             = "https://graph.microsoft.scloud/.default"
	RX_GRAPH_API_SERVICE_ROOT      = "https://graph.microsoft.scloud/v1.0"
	RX_GRAPH_BETA_API_SERVICE_ROOT = "https://graph.microsoft.scloud/beta"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL