Method CreateForMicrosoft
CreateForMicrosoft(string, string, string, IEnumerable<string>, IapAuthorizationPromptType)
Creates an Identity-Aware Proxy (IAP) configuration for Microsoft Entra Application Proxy from the specified parameters.
Declaration
public static IapConfiguration CreateForMicrosoft(string tenantId, string clientId, string redirectUrl, IEnumerable<string> hostsBehindProxy, IapAuthorizationPromptType authorizationPromptType)
Parameters
| Type | Name | Description |
|---|---|---|
| string | tenantId | A unique identifier assigned to an organization's instance in Microsoft Entra ID. |
| string | clientId | A unique application-specific identifier associated with an application which is registered with the Identity-Aware Proxy (IAP) portal. |
| string | redirectUrl | The URL that the Identity-Aware Proxy (IAP) login and logout pages will redirect to when authentication completes. The scheme of this URL must be registered as a custom URL scheme in the application. |
| IEnumerable<string> | hostsBehindProxy | The hosts of the ArcGIS resources that are to be accessed behind the Identity-Aware Proxy (IAP). |
| IapAuthorizationPromptType | authorizationPromptType | The type of user interaction required for authentication and consent while signing in to the Identity-Aware Proxy (IAP). |
Returns
| Type | Description |
|---|---|
| IapConfiguration | Returns an IapConfiguration. |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET | 300 |
| .NET Windows | 300 |
| .NET Android | 300 |
| .NET iOS | 300 |