getAudience() public method

public getAudience ( ) : string
return string
示例#1
0
文件: Jwt.php 项目: emarref/jwt
 /**
  * @param Verification\Context $context
  * @return Verification\VerifierInterface[]
  */
 protected function getVerifiers(Verification\Context $context)
 {
     return [new Verification\EncryptionVerifier($context->getEncryption(), $this->encoder), new Verification\AudienceVerifier($context->getAudience()), new Verification\ExpirationVerifier(), new Verification\IssuerVerifier($context->getIssuer()), new Verification\SubjectVerifier($context->getSubject()), new Verification\NotBeforeVerifier()];
 }