ServiceAccountSignerTrait
Sign a string using a Service Account private key.
Table of Contents
Methods
- signBlob() : string
- Sign a string using the service account private key.
Methods
signBlob()
Sign a string using the service account private key.
public
signBlob(string $stringToSign[, bool $forceOpenssl = false ]) : string
Parameters
- $stringToSign : string
- $forceOpenssl : bool = false
-
Whether to use OpenSSL regardless of whether phpseclib is installed. Defaults to
false
.