LTI Integration Library 4.10.3
PHP class library for building LTI integrations
 
Loading...
Searching...
No Matches
OAuthSignatureMethod_HMAC_SHA384 Class Reference

Class to represent an OAuth HMAC_SHA384 signature method. More...

Inheritance diagram for OAuthSignatureMethod_HMAC_SHA384:
OAuthSignatureMethod

Public Member Functions

 get_name ()
 Name of the Signature Method.
 
 build_signature ($request, $consumer, $token)
 Build up the signature.
 
- Public Member Functions inherited from OAuthSignatureMethod
 get_name ()
 Needs to return the name of the Signature Method (eg HMAC-SHA1).
 
 build_signature ($request, $consumer, $token)
 Build up the signature.
 
 check_signature ($request, $consumer, $token, $signature)
 Verifies that a given signature is correct.
 

Detailed Description

Class to represent an OAuth HMAC_SHA384 signature method.

Author
Stephen P Vickers steph.nosp@m.en@s.nosp@m.pvsof.nosp@m.twar.nosp@m.eprod.nosp@m.ucts.nosp@m..com
Version
2015-11-30
Licence: https://opensource.org/licenses/MIT The MIT License
The HMAC-SHA384 signature method uses the HMAC-SHA256 signature algorithm as defined in [RFC6234] where the Signature Base String is the text and the key is the concatenated values (each first encoded per Parameter Encoding) of the Consumer Secret and Token Secret, separated by an '&' character (ASCII code 38) even if empty.

Definition at line 20 of file OAuthSignatureMethod_HMAC_SHA384.php.

Member Function Documentation

◆ build_signature()

build_signature (   $request,
  $consumer,
  $token 
)

Build up the signature.

NOTE: The output of this function MUST NOT be urlencoded. the encoding is handled in OAuthRequest when the final request is serialized

Parameters
OAuthRequest$requestRequest
OAuthConsumer$consumerConsumer
OAuthToken$tokenToken
Returns
string

Reimplemented from OAuthSignatureMethod.

Definition at line 46 of file OAuthSignatureMethod_HMAC_SHA384.php.

References OAuthUtil\urlencode_rfc3986().

◆ get_name()

get_name ( )

Name of the Signature Method.

Returns
string

Reimplemented from OAuthSignatureMethod.

Definition at line 28 of file OAuthSignatureMethod_HMAC_SHA384.php.


The documentation for this class was generated from the following file: