trait ServiceAccountSignerTrait (View source)

Sign a string using a Service Account private key.

Methods

string
signBlob(string $stringToSign, bool $forceOpenssl = false)

Sign a string using the service account private key.

Details

string signBlob(string $stringToSign, bool $forceOpenssl = false)

Sign a string using the service account private key.

Parameters

string $stringToSign
bool $forceOpenssl Whether to use OpenSSL regardless of whether phpseclib is installed. Defaults to false.

Return Value

string