Laravel 护照不过期令牌
Laravel passport non-expiring tokens
我们正在 Laravel 为 OAuth2 设置 Passport,它在所有方面都运行良好。
Laravel 是否支持永不过期的不记名令牌?
如果是这样,有什么方法可以使不记名令牌永不过期?
我们正在使用授权码授予。
您可以在 passport
中使用 Personal Access Token
According to official documentation
Personal access tokens are always long-lived. Their lifetime is not
modified when using the tokensExpireIn or refreshTokensExpireIn
methods.
我们正在 Laravel 为 OAuth2 设置 Passport,它在所有方面都运行良好。
Laravel 是否支持永不过期的不记名令牌? 如果是这样,有什么方法可以使不记名令牌永不过期?
我们正在使用授权码授予。
您可以在 passport
Personal Access Token
According to official documentation
Personal access tokens are always long-lived. Their lifetime is not modified when using the tokensExpireIn or refreshTokensExpireIn methods.