UnityLicensor
in package
FinalYes
Signs Unity manual activation files through Unity's browser-based license flow.
Tags
Table of Contents
Constants
- ENV_UNITY_LICENSE_EMAIL : mixed = 'UNITY_CREDENTIALS_USR'
- ENV_UNITY_LICENSE_PASSWORD : mixed = 'UNITY_CREDENTIALS_PSW'
- UNITY_2FA_PATTERN : mixed = '/\b(\d{6})\b/'
- UNITY_EMAIL : mixed = 'no-reply@unity3d.com'
Properties
- $hasCredentials : bool
Methods
- __construct() : mixed
- hasCredentialsInEnvironment() : bool
- sign() : string
Constants
ENV_UNITY_LICENSE_EMAIL
public
mixed
ENV_UNITY_LICENSE_EMAIL
= 'UNITY_CREDENTIALS_USR'
ENV_UNITY_LICENSE_PASSWORD
public
mixed
ENV_UNITY_LICENSE_PASSWORD
= 'UNITY_CREDENTIALS_PSW'
UNITY_2FA_PATTERN
public
mixed
UNITY_2FA_PATTERN
= '/\b(\d{6})\b/'
UNITY_EMAIL
public
mixed
UNITY_EMAIL
= 'no-reply@unity3d.com'
Properties
$hasCredentials
public
bool
$hasCredentials
= true
Methods
__construct()
public
__construct([string|null $userMail = null ][, string|null $userPassword = null ]) : mixed
Parameters
- $userMail : string|null = null
- $userPassword : string|null = null
hasCredentialsInEnvironment()
public
static hasCredentialsInEnvironment() : bool
Return values
boolsign()
public
sign(string $alfFile) : string
Parameters
- $alfFile : string