Implementation
WebOAuth(Config config) {
jsInit(MsalConfig.construct(
tenant: config.tenant,
policy: config.policy,
clientId: config.clientId,
responseType: config.responseType,
redirectUri: config.redirectUri,
scope: config.scope,
responseMode: config.responseMode,
state: config.state,
prompt: config.prompt,
codeChallenge: config.codeChallenge,
codeChallengeMethod: config.codeChallengeMethod,
nonce: config.nonce,
tokenIdentifier: config.tokenIdentifier,
clientSecret: config.clientSecret,
resource: config.resource,
isB2C: config.isB2C,
loginHint: config.loginHint,
domainHint: config.domainHint,
codeVerifier: config.codeVerifier,
authorizationUrl: config.authorizationUrl,
tokenUrl: config.tokenUrl));
}