阅读(3691) (7)

Laravel 8 GET /oauth/tokens

2021-07-09 11:44:52 更新

这个路由会返回认证用户创建的所有授权访问令牌,这在列举该用户的所有令牌以便撤销时很有用:

axios.get('/oauth/tokens')
    .then(response => {
        console.log(response.data);
    });