# Function: getAndInjectLicense()

> **getAndInjectLicense**(`page`, `config`, `me`, `debugInfo`, `spinner`?, `preloadedLicense`?): `Promise`\<`boolean`\>

## Parameters

• **page**: `Page`

• **config**: [`ConfigObject`](/reference/api/model/config/interfaces/ConfigObject.md)

• **me**

• **me.\_serialized**: `string`

• **debugInfo**: [`SessionInfo`](/reference/api/model/sessionInfo/interfaces/SessionInfo.md)

• **spinner?**: `Spin`

• **preloadedLicense?**: `string` \| `false`

## Returns

`Promise`\<`boolean`\>
