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
MSALAzurePublicCloudInstanceSwift
case publicCloudInstance = 0 -
Microsoft Chinese national cloud. Maps to https://login.chinacloudapi.cn
Declaration
Objective-C
MSALAzureChinaCloudInstanceSwift
case chinaCloudInstance = 1 -
Microsoft German national cloud (“Black Forest”). Maps to https://login.microsoftonline.de
Declaration
Objective-C
MSALAzureGermanyCloudInstanceSwift
case germanyCloudInstance = 2 -
US Government cloud. Maps to https://login.microsoftonline.us
Declaration
Objective-C
MSALAzureUsGovernmentCloudInstanceSwift
case usGovernmentCloudInstance = 3
View on GitHub