前言
今天介绍四种授权模式
授权码模式
流程
返回
access_token:返回令牌
token_type:有MAC_Token和Bearer Token两种类型
refresh_token:刷新令牌
expires_in:过期时间
scope:范围
jti:当前token唯一标识
简化模式
密码模式
客户端模式
总结
四种不同模式有不同的使用场景,按需使用即可。
今天介绍四种授权模式
流程
返回
access_token:返回令牌
token_type:有MAC_Token和Bearer Token两种类型
refresh_token:刷新令牌
expires_in:过期时间
scope:范围
jti:当前token唯一标识
四种不同模式有不同的使用场景,按需使用即可。