interface SignerInterface

Methods

string
getSelfKey()

Gets the self key that was set in the constructor.

string
getClientId()

Gets the client key that was set in the constructor.

string
getClientSecret()

Gets the client secret that was set in the constructor.

string
sign(array $payload)

Sign the payload to produce a signature for its contents.

Details

at line line 17
string getSelfKey()

Gets the self key that was set in the constructor.

Return Value

string The self key.

at line line 24
string getClientId()

Gets the client key that was set in the constructor.

Return Value

string The client key.

at line line 31
string getClientSecret()

Gets the client secret that was set in the constructor.

Return Value

string The client secret.

at line line 39
string sign(array $payload)

Sign the payload to produce a signature for its contents.

Parameters

array $payload The data to generate a signature for.

Return Value

string The signature for the payload contents.