Documentation
¶
Overview ¶
Package config provides configuration management for the msgraph CLI.
Index ¶
Constants ¶
View Source
const ( // DefaultClientID is the Microsoft Graph Command Line Tools app ID. // This is a first-party Microsoft app pre-registered in most M365 tenants. DefaultClientID = "14d82eec-204b-4c2f-b7e8-296a70dab67e" // DefaultTenantID uses the "common" endpoint for multi-tenant sign-in. DefaultTenantID = "common" // DefaultAPIVersion is the default Graph API version. DefaultAPIVersion = "beta" // DefaultAuthority is the base URL for the Microsoft identity platform. DefaultAuthority = "https://login.microsoftonline.com/" // GraphBaseURL is the base URL for Microsoft Graph API. GraphBaseURL = "https://graph.microsoft.com" // DefaultScopes are the minimum scopes requested at sign-in. DefaultScope = "User.Read" // RedirectURL is the localhost redirect used for interactive browser auth. RedirectURL = "http://localhost" )
Variables ¶
View Source
var Version = "dev"
Version is set at build time via ldflags.
Functions ¶
func ValidAPIVersion ¶
ValidAPIVersion checks if the given version string is valid.
Types ¶
Click to show internal directories.
Click to hide internal directories.