IapConfiguration constructor

IapConfiguration({
  1. required Uri authorizeUri,
  2. required Uri tokenUri,
  3. required Uri logoutUri,
  4. required String clientId,
  5. String clientSecret = '',
  6. required Uri redirectUri,
  7. String iapClientId = '',
  8. required List<String> scopes,
  9. required List<String> hostsBehindProxy,
  10. IapAuthorizationPromptType authorizationPromptType = IapAuthorizationPromptType.unspecified,
})

Creates an Identity-Aware Proxy (IAP) configuration from the specified parameters.

Parameters:

  • authorizeUri — The Identity-Aware Proxy (IAP) authorize endpoint that facilitates user authentication.
  • tokenUri — The Identity-Aware Proxy (IAP) endpoint responsible for generating access, ID, and refresh tokens.
  • logoutUri — The Identity-Aware Proxy (IAP) endpoint used to log the user out of the web session and invalidate any associated tokens.
  • clientId — A unique application-specific identifier associated with an application which is registered with the Identity-Aware Proxy (IAP) portal.
  • clientSecret — A private key used to verify that the application is authorized to access secured services.
  • redirectUri — 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.
  • 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.
  • scopes — A list of permissions that define the access level for which the user should be authenticated.
  • hostsBehindProxy — The hosts of the ArcGIS resources that are to be accessed behind the Identity-Aware Proxy (IAP).
  • authorizationPromptType — The type of user interaction required for authentication and consent while signing in to the Identity-Aware Proxy (IAP).