예제 #1
0
파일: JWT.php 프로젝트: devstackgroup/jwt
 public function __construct($algorithm = 'HS256')
 {
     $this->headers = ['typ' => 'JWT', 'alg' => $algorithm];
     JWT::$algorithm = $algorithm;
 }