PHP Class Lcobucci\JWT\Configuration

Serves like a small DI container to simplify the creation and usage of the objects.
Since: 4.0.0
Author: Luís Otávio Cobucci Oblonczyk ([email protected])
Show file Open project: lcobucci/jwt Class Usage Examples

Public Methods

Method Description
createBuilder ( ) : Builder
getParser ( ) : Parser
getSigner ( ) : Lcobucci\JWT\Signer
setClaimFactory ( Factory $claimFactory )
setDecoder ( Lcobucci\Jose\Parsing\Decoder $decoder )
setEncoder ( Lcobucci\Jose\Parsing\Encoder $encoder )
setParser ( Parser $parser )
setSigner ( Lcobucci\JWT\Signer $signer )

Private Methods

Method Description
getClaimFactory ( ) : Factory
getDecoder ( ) : Lcobucci\Jose\Parsing\Decoder
getEncoder ( ) : Lcobucci\Jose\Parsing\Encoder

Method Details

createBuilder() public method

public createBuilder ( ) : Builder
return Builder

getParser() public method

public getParser ( ) : Parser
return Parser

getSigner() public method

public getSigner ( ) : Lcobucci\JWT\Signer
return Lcobucci\JWT\Signer

setClaimFactory() public method

public setClaimFactory ( Factory $claimFactory )
$claimFactory Lcobucci\JWT\Claim\Factory

setDecoder() public method

public setDecoder ( Lcobucci\Jose\Parsing\Decoder $decoder )
$decoder Lcobucci\Jose\Parsing\Decoder

setEncoder() public method

public setEncoder ( Lcobucci\Jose\Parsing\Encoder $encoder )
$encoder Lcobucci\Jose\Parsing\Encoder

setParser() public method

public setParser ( Parser $parser )
$parser Parser

setSigner() public method

public setSigner ( Lcobucci\JWT\Signer $signer )
$signer Lcobucci\JWT\Signer