Packagecom.yahoo.oauth
Classpublic class OAuthSignatureMethod_HMAC_SHA1
InheritanceOAuthSignatureMethod_HMAC_SHA1 Inheritance OAuthSignatureMethod

Signs a request using HMAC-SHA1 encryption.

See also

http://oauth.net/core/1.0#anchor16


Public Properties
 PropertyDefined by
 Inheritedname : String
The name of the signature method.
OAuthSignatureMethod
Protected Properties
 PropertyDefined by
 Inherited$name : String
The name of the signature method.
OAuthSignatureMethod
Public Methods
 MethodDefined by
  
Class contructor.
OAuthSignatureMethod_HMAC_SHA1
  
buildSignature(request:OAuthRequest):String
Signs the request using HMAC-SHA1 encryption.
OAuthSignatureMethod_HMAC_SHA1
 Inherited
checkSignature(signature:String, request:OAuthRequest):Boolean
Validates the given signature against a generated signature from the request.
OAuthSignatureMethod
Constructor detail
OAuthSignatureMethod_HMAC_SHA1()constructor
public function OAuthSignatureMethod_HMAC_SHA1()

Class contructor.

Creates a new OAuthSignatureMethod_HMAC_SHA1 object.

Method detail
buildSignature()method
public override function buildSignature(request:OAuthRequest):String

Signs the request using HMAC-SHA1 encryption.

Parameters
request:OAuthRequest — An OAuthRequest object to be signed.

Returns
String — The signature as a Base64 encoded keyed hash value.