PHP Class QueryAuth\Factory

ファイルを表示 Open project: jeremykendall/query-auth Class Usage Examples

Public Methods

Method Description
getRandomFactory ( ) : RandomLib\Factory Get an instance of RandomFactory. If property is null, creates a new instance.
newKeyGenerator ( ) Creates new KeyGenerator created with medium strength RandomLib\Generator
newRequestSigner ( ) : RequestSigner Creates a client instance
newRequestValidator ( ) : RequestValidator Creates a RequestValidator
setRandomFactory ( RandomLib\Factory $randomFactory ) Set randomFactory

Protected Methods

Method Description
newSignature ( ) : Signature Creates a Signature instance

Method Details

getRandomFactory() public method

Get an instance of RandomFactory. If property is null, creates a new instance.
public getRandomFactory ( ) : RandomLib\Factory
return RandomLib\Factory Instance of RandomFactory

newKeyGenerator() public method

Creates new KeyGenerator created with medium strength RandomLib\Generator
public newKeyGenerator ( )

newRequestSigner() public method

Creates a client instance
public newRequestSigner ( ) : RequestSigner
return QueryAuth\Request\RequestSigner RequestSigner instance

newRequestValidator() public method

Creates a RequestValidator
public newRequestValidator ( ) : RequestValidator
return QueryAuth\Request\RequestValidator RequestValidator instance

newSignature() protected method

Creates a Signature instance
protected newSignature ( ) : Signature
return Signature Signature instance

setRandomFactory() public method

Set randomFactory
public setRandomFactory ( RandomLib\Factory $randomFactory )
$randomFactory RandomLib\Factory Instance of RandomFactory