createPublicClientApplication static method

Future<MSALPublicClientApplication> createPublicClientApplication(
  1. MSALPublicClientApplicationConfig config
)

Implementation

static Future<MSALPublicClientApplication> createPublicClientApplication(
    MSALPublicClientApplicationConfig config) async {
  try {
    final clientApplication = MSALPublicClientApplication();
    await clientApplication._initialize(config);
    return clientApplication;
  } catch (e) {
    rethrow;
  }
}