Skip to main content

refresh_token

Function refresh_token 

Source
pub async fn refresh_token() -> SaTokenResult<String>
Expand description

Refresh: move current → past, CAS-write a new current. 刷新:当前值写入 past,再用 CAS 写入新的当前值。