MSALAzureCloudInstance
Objective-C
enum MSALAzureCloudInstance : NSInteger {}
Swift
enum MSALAzureCloudInstance : Int, @unchecked Sendable
All the national clouds authenticate users separately in each environment and have separate authentication endpoints. MSALAzureCloudInstance represents a national cloud environment that should be used for authentication. See instructions here: https://docs.microsoft.com/en-us/azure/active-directory/develop/authentication-national-cloud
-
Microsoft Azure public cloud. Maps to https://login.microsoftonline.com
Declaration
Objective-C
MSALAzurePublicCloudInstance
Swift
case publicCloudInstance = 0
-
Microsoft Chinese national cloud. Maps to https://login.chinacloudapi.cn
Declaration
Objective-C
MSALAzureChinaCloudInstance
Swift
case chinaCloudInstance = 1
-
Microsoft German national cloud (“Black Forest”). Maps to https://login.microsoftonline.de
Declaration
Objective-C
MSALAzureGermanyCloudInstance
Swift
case germanyCloudInstance = 2
-
US Government cloud. Maps to https://login.microsoftonline.us
Declaration
Objective-C
MSALAzureUsGovernmentCloudInstance
Swift
case usGovernmentCloudInstance = 3