PHP Class Emarref\Jwt\Signature\Jws

Inheritance: implements Emarref\Jwt\Signature\SignerInterface
显示文件 Open project: emarref/jwt Class Usage Examples

Public Methods

Method Description
__construct ( Emarref\Jwt\Encryption\EncryptionInterface $encryption, Emarref\Jwt\Encoding\EncoderInterface $encoder )
getUnsignedValue ( Token $token )
sign ( Token $token )

Method Details

__construct() public method

public __construct ( Emarref\Jwt\Encryption\EncryptionInterface $encryption, Emarref\Jwt\Encoding\EncoderInterface $encoder )
$encryption Emarref\Jwt\Encryption\EncryptionInterface
$encoder Emarref\Jwt\Encoding\EncoderInterface

getUnsignedValue() public method

public getUnsignedValue ( Token $token )
$token Emarref\Jwt\Token

sign() public method

public sign ( Token $token )
$token Emarref\Jwt\Token