stack-rpc-tutorials icon indicating copy to clipboard operation
stack-rpc-tutorials copied to clipboard

关于micro auth 的问题

Open bluedragonflyliu opened this issue 5 years ago • 4 comments

关于micro auth 的问题 micro 有 个 服务就是auth 看命令说明是 Run the auth service 和你教程里面提到的权限是什么关系,是像api 命令一样作为网关还是说它一个默认写好的权限认证服务,还有GLOBAL OPTIONS 里面也有一堆关于auth的他们的用法是配合 micro auth 一起用吗micro官方的文档相关说明太少搞不清楚。

bluedragonflyliu avatar Sep 02 '20 10:09 bluedragonflyliu

教程写的时候还没有Auth模块,Auth模块是提供常见的服务端认证实现,和api命令一样的是个服务。Global Options是指?

printfcoder avatar Sep 03 '20 01:09 printfcoder

运行命令micro 会出来一大堆东西,在COMMANDS: 下面的段落就是那个GLOBAL OPTIONS:然后里面有很多类似--auth的小项

bluedragonflyliu avatar Sep 03 '20 01:09 bluedragonflyliu

运行命令micro 会出来一大堆东西,在COMMANDS: 下面的段落就是那个GLOBAL OPTIONS:然后里面有很多类似--auth的小项

-auth就是和auth服务相关的配置

hb-chen avatar Sep 04 '20 00:09 hb-chen

看他们的示例代码中有个booking 的例子有check token 的代码但是没看到生成token的例子,大神们能指点一下吗

bluedragonflyliu avatar Sep 09 '20 09:09 bluedragonflyliu