getAudience() public method

public getAudience ( ) : string
return string
Ejemplo n.º 1
0
Archivo: Jwt.php Proyecto: 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()];
 }