PHP Class yii\authclient\signature\BaseMethod

Since: 2.0
Author: Paul Klimov ([email protected])
Inheritance: extends yii\base\Object
Exibir arquivo Open project: yiisoft/yii2-authclient

Public Methods

Method Description
generateSignature ( string $baseString, string $key ) : string Generates OAuth request signature.
getName ( ) : string Return the canonical name of the Signature Method.
verify ( string $signature, string $baseString, string $key ) : boolean Verifies given OAuth request.

Method Details

generateSignature() abstract public method

Generates OAuth request signature.
abstract public generateSignature ( string $baseString, string $key ) : string
$baseString string signature base string.
$key string signature key.
return string signature string.

getName() abstract public method

Return the canonical name of the Signature Method.
abstract public getName ( ) : string
return string method name.

verify() public method

Verifies given OAuth request.
public verify ( string $signature, string $baseString, string $key ) : boolean
$signature string signature to be verified.
$baseString string signature base string.
$key string signature key.
return boolean success.