src/PassportServiceProvider.php
protected function makeCryptKey($type)
    {
        $key = str_replace('\\n', "\n", $this->app->make(Config::class)->get('passport.'.$type.'_key'));

        if (! $key) {
            $key = 'file://'.Passport::keyPath('oauth-'.$type.'.key');
        }

        return new CryptKey($key, null, false);
    }
protected function makeCryptKey($type)
    {
        $key = str_replace('\\n', "\n", $this->app->make(Config::class)->get('passport.'.$type.'_key'));

        if (! $key) {
            $key = 'file://'.Passport::keyPath('oauth-'.$type.'.key');
        }

        return new CryptKey($key, null, false);
    }
protected function makeCryptKey ( $ type ) { $ key = str_replace ( '\\n' , "\n" , $ this -> app -> make ( Config :: class ) -> get ( 'passport.' . $ type . '_key' ) ) ; if ( ! $ key ) { $ key = 'file://' . Passport :: keyPath ( 'oauth-' . $ type . '.key' ) ; } return new CryptKey ( $ key , null , false ) ; }
Create a CryptKey instance without permissions check.

@param string $key
@return \League\OAuth2\Server\CryptKey
Create a CryptKey instance without permissions check .