Method Create
Create(Uri, Uri, Uri, string, string, Uri, string, IEnumerable<string>, IEnumerable<string>, IapAuthorizationPromptType)
Creates an Identity-Aware Proxy (IAP) configuration from the specified parameters.
Declaration
public static IapConfiguration Create(Uri authorizeUrl, Uri tokenUrl, Uri logoutUrl, string clientId, string clientSecret, Uri redirectUrl, string iapClientId, IEnumerable<string> scopes, IEnumerable<string> hostsBehindProxy, IapAuthorizationPromptType authorizationPromptType)
Parameters
| Type | Name | Description |
|---|---|---|
| Uri | authorizeUrl | The Identity-Aware Proxy (IAP) authorize endpoint that facilitates user authentication. |
| Uri | tokenUrl | The Identity-Aware Proxy (IAP) endpoint responsible for generating access, ID, and refresh tokens. |
| Uri | logoutUrl | The Identity-Aware Proxy (IAP) endpoint used to log the user out of the web session and invalidate any associated tokens. |
| string | clientId | A unique application-specific identifier associated with an application which is registered with the Identity-Aware Proxy (IAP) portal. |
| string | clientSecret | A private key used to verify that the application is authorized to access secured services. |
| Uri | 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. |
| string | iapClientId | A unique identifier associated with an application which is registered with the Identity-Aware Proxy (IAP) portal. Notably, Microsoft Entra Application Proxy does not require an IAP client ID for authorization and token generation. |
| IEnumerable<string> | scopes | A list of permissions that define the access level for which the user should be authenticated. |
| 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 |