src/GrantType/JwtBearer.php
protected function readPrivateKey(SplFileObject $privateKey)
    {
        $key = '';
        while (!$privateKey->eof()) {
            $key .= $privateKey->fgets();
        }
        return $key;
    }
protected function readPrivateKey(SplFileObject $privateKey)
    {
        $key = '';
        while (!$privateKey->eof()) {
            $key .= $privateKey->fgets();
        }
        return $key;
    }
protected function readPrivateKey ( SplFileObject $ privateKey ) { $ key = '' ; while ( ! $ privateKey -> eof ( ) ) { $ key .= $ privateKey -> fgets ( ) ; } return $ key ; }
Read private key

@param SplFileObject $privateKey

@return string
Read private key