2.5. 资源服务器反查令牌¶
flowchart LR
R1["客户端"]
R2["授权服务器"]
R3["资源服务器"]
R1 -. "1-获取令牌" .-> R2
R1 -. "3-携带访问令牌获取资源" .-> R3
R3 -- "4-访问令牌" --> R2 -- "5-令牌所有者与权限" --> R3
R3 -. "6-资源" .-> R1
R2 -. "2-访问令牌" .-> R1
linkStyle 2 stroke:#004898,color:#004898
linkStyle 3 stroke:green,color:green
linkStyle 0,1,4,5 stroke:#C9CACA,color:#3E3A39
classDef primary fill:#004898,color:white,stroke:#3E3A39
classDef secondary fill:white,color:#3E3A39,stroke:#C9CACA,stroke-width:2,stroke-dasharray:3,3
classDef action fill:#DE6A25,color:white,stroke:#3E3A39
class R3 action
class R1,R2 primary
class R3 secondary
<TBC>