build_signature()
check_signature()
get_name()
The PLAINTEXT method does not provide any security protection and SHOULD only be used over a secure channel such as HTTPS.
It does not use the Signature Base String. - Chapter 9.4 ("PLAINTEXT")
build_signature(\Moneybird\Lib\OAuthRequest $request, \Moneybird\Lib\OAuthConsumer $consumer, \Moneybird\Lib\OAuthToken $token) : string
The result MUST be encoded again. - Chapter 9.4.1 ("Generating Signatures")
Please note that the second encoding MUST NOT happen in the SignatureMethod, as OAuthRequest handles this!
\Moneybird\Lib\OAuthRequest
\Moneybird\Lib\OAuthConsumer
\Moneybird\Lib\OAuthToken
string
check_signature(\Moneybird\Lib\OAuthRequest $request, \Moneybird\Lib\OAuthConsumer $consumer, \Moneybird\Lib\OAuthToken $token, string $signature) : bool
inherited_from | \Moneybird\Lib\OAuthSignatureMethod::check_signature() |
---|
\Moneybird\Lib\OAuthRequest
\Moneybird\Lib\OAuthConsumer
\Moneybird\Lib\OAuthToken
string
bool
get_name() : string
string