OAuth2 备忘录

gb_oauth:client:details::${clientId}
gb_oauth:refresh:${refreshToken} 
gb_oauth:refresh_auth:${refreshToken} 
gb_oauth:refresh_to_access:${refreshToken} 


// removeAccessToken删除以下缓存
gb_oauth:client_id_to_access:${clientId} set对象,存储AdditionalInformation信息,会根据accessToken删除该集合下的对象
gb_oauth:uname_to_access:${clientId}:${username}
gb_oauth:access:${accessToken} 
gb_oauth:access_to_refresh:${accessToken} 
gb_oauth:auth:${accessToken} 
gb_oauth:auth_to_access:${根据username加密的key} 

// 删除后根据refreshToken仍然可以刷新token

你可能感兴趣的:(OAuth2 备忘录)