Companion
object Companion
Functions
Link copied to clipboard
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:
fun create(authorizeUrl: String, tokenUrl: String, logoutUrl: String, clientId: String, redirectUrl: String, scopes: Iterable<String>, hostsBehindProxy: Iterable<String>, authorizationPromptType: IapAuthorizationPromptType = IapAuthorizationPromptType.Unspecified, clientSecret: String = "", iapClientId: String = ""): IapConfiguration
Creates an Identity-Aware Proxy (IAP) configuration from the specified parameters.
Link copied to clipboard
fun createForMicrosoft(tenantId: String, clientId: String, redirectUrl: String, hostsBehindProxy: Iterable<String>, authorizationPromptType: IapAuthorizationPromptType = IapAuthorizationPromptType.Unspecified): IapConfiguration
Creates an Identity-Aware Proxy (IAP) configuration for Microsoft Entra Application Proxy from the specified parameters.
Link copied to clipboard