在Laravel哪里可以找到护照钥匙? [英] Where I can find passport keys in Laravel?
本文介绍了在Laravel哪里可以找到护照钥匙?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我使用Laravel命令php artisan passport:keys
生成了一个键,但是我不知道在哪里可以找到它.
I generated a keys using the Laravel command php artisan passport:keys
but I don't know where I can find it.
推荐答案
阅读源代码我发现它获取了其路径来自$keyPath
.可以用loadKeysFrom($path)
设置.或使用 storage_path()
中的默认位置.因此,默认情况下为storage
.
When reading the source code I find it gets its path from $keyPath
. Which can be set with loadKeysFrom($path)
. or uses the default location from storage_path()
. So this is storage
by default.
这篇关于在Laravel哪里可以找到护照钥匙?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文