Closed zires closed 11 years ago
新浪那边传来的是"expires"=>142582,应该不需要单独取出expires_at,直接丢给OAuth2::AccessToken处理好了
"expires"=>142582
expires_at
OAuth2::AccessToken
另外,authorized?方法不单单要判断@access_token是否存在,还要判断@access_token是否有效
authorized?
@access_token
Cool, I think it's pretty straightforward. Merged.
新浪那边传来的是
"expires"=>142582
,应该不需要单独取出expires_at
,直接丢给OAuth2::AccessToken
处理好了另外,
authorized?
方法不单单要判断@access_token
是否存在,还要判断@access_token
是否有效