create static method
- Uri fileUri
Creates an Identity-Aware Proxy (IAP) configuration from a JSON file on disk.
The format of the JSON file for Microsoft Entra Application Proxy should
be as follows: JSON { "authorize_url" : "https://login.microsoftonline.com/`tenant_id`/oauth2/v2.0/authorize", "token_url" : "https://login.microsoftonline.com/`tenant_id`/oauth2/v2.0/token", "logout_url" : "https://login.microsoftonline.com/`tenant_id`/oauth2/v2.0/logout", "client_id" : "`client_id`", "redirect_url" : "`redirect_url`", "scope" : [ "`client_id`/.default", "offline_access", "openid", "profile" ], "hosts_behind_proxy" : \["*.domain.com"], "authorization_prompt_type" : "`empty string, none, login, consent, or select_account`" }
Parameters:
fileUri— The path to the IAP configuration JSON file on disk.
Return Value: Returns an IapConfiguration.