PHP Class Jose\Checker\AudienceChecker

Inheritance: implements Jose\Checker\ClaimCheckerInterface
显示文件 Open project: spomky-labs/jose Class Usage Examples

Public Methods

Method Description
__construct ( string $audience ) AudienceChecker constructor.
checkClaim ( Jose\Object\JWTInterface $jwt )
getAudience ( ) : string

Method Details

__construct() public method

AudienceChecker constructor.
public __construct ( string $audience )
$audience string

checkClaim() public method

public checkClaim ( Jose\Object\JWTInterface $jwt )
$jwt Jose\Object\JWTInterface

getAudience() public method

public getAudience ( ) : string
return string