Packagecom.yahoo.oauth
Interfacepublic interface IOAuthSignatureMethod
ImplementorsOAuthSignatureMethod

Interface for all OAuth signature methods.

See also

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


Public Properties
 PropertyDefined by
  name : String
[read-only] The name of the signature method.
IOAuthSignatureMethod
Public Methods
 MethodDefined by
  
Class contructor.
IOAuthSignatureMethod
  
buildSignature(request:OAuthRequest):String
Signs the request.
IOAuthSignatureMethod
  
checkSignature(signature:String, request:OAuthRequest):Boolean
Validates the given signature against a generated signature from the request.
IOAuthSignatureMethod
Property detail
nameproperty
name:String  [read-only]

The name of the signature method.

Implementation
    public function get name():String
Method detail
buildSignature()method
public function buildSignature(request:OAuthRequest):String

Signs the request.

Parameters
request:OAuthRequest

Returns
String
checkSignature()method 
public function checkSignature(signature:String, request:OAuthRequest):Boolean

Validates the given signature against a generated signature from the request.

Parameters
signature:String
 
request:OAuthRequest

Returns
Boolean — A Boolean, true if the signature provided matches the signature built from the request.