Playwright Power Platform Toolkit v0.0.4
Playwright Power Platform Toolkit / MsAuthConfig
Interface: MsAuthConfig
Defined in: auth/MsAuthHelper.ts:24
Microsoft Authentication configuration
Remarks
This interface extends the playwright-ms-auth configuration with additional MSAL token waiting options specific to Power Platform SPAs.
Properties
email:
string
Defined in: auth/MsAuthHelper.ts:25
credentialType?
optionalcredentialType:"password"|"token"|"certificate"
Defined in: auth/MsAuthHelper.ts:26
credentialProvider?
optionalcredentialProvider:"environment"|"azure-keyvault"|"local-file"|"github-secrets"
Defined in: auth/MsAuthHelper.ts:27
providerConfig?
optionalproviderConfig:any
Defined in: auth/MsAuthHelper.ts:28
envVariableName?
optionalenvVariableName:string
Defined in: auth/MsAuthHelper.ts:29
localFilePath?
optionallocalFilePath:string
Defined in: auth/MsAuthHelper.ts:30
certificatePassword?
optionalcertificatePassword:string
Defined in: auth/MsAuthHelper.ts:31
headless?
optionalheadless:boolean
Defined in: auth/MsAuthHelper.ts:32
timeout?
optionaltimeout:number
Defined in: auth/MsAuthHelper.ts:33
waitForMsalTokens?
optionalwaitForMsalTokens:boolean
Defined in: auth/MsAuthHelper.ts:35
Wait for MSAL tokens to be stored in localStorage (default: true)
msalTokenTimeout?
optionalmsalTokenTimeout:number
Defined in: auth/MsAuthHelper.ts:37
Timeout for waiting for MSAL tokens in milliseconds (default: 30000)