create static method

Future<IapCredential> create(
  1. IapConfiguration configuration
)

Creates an IapCredential containing the necessary information to access the Identity-Aware Proxy (IAP) using OAuth and OpenID Connect.

This process initiates the IAP login by displaying the login page within a web session.

Parameters:

  • configuration — The configuration details of an application that is registered on the Identity-Aware Proxy (IAP) portal.

Return Value: Returns an IapCredential.