- 0
- 0
- 约5.54千字
- 约 6页
- 2026-02-10 发布于北京
- 举报
/**版权所有(C)2010‑2013新浪微博开源项目**根据Apache许可证,版本2.
0(“许可证”)许可;*除非遵守许可证,否则不得使用此文件。*您可以从以下
网址获取许可证副本:**/licenses/LICENSE‑2.0**除
非适用法律要求或书面同意,否则根据许可证分发的软件*按“原样”分发,不提
供任何形式的明示或暗示保证。*有关权限和限制的具体语言,请参阅许可证。*/
packagecom.lm.weibo.android;
importandroid.content.Context;import
android.content.SharedPreferences;import
android.content.SharedPreferences.Editor;
importcom.sina.weibo.sdk.auth.Oauth2AccessToken;
/
***该类定义了微博授权时所需要的参数。**@authorSINA*@since
2013‑10‑07*/publicclassAccessTokenKeeper{publicstaticfinalString
____
PREFERENCESNAME=comlmweiboandroid;
_
publicstaticfinalStringKEYUID=uid;publicstaticfinal
S___
tringKEYACCESSTOKEN=accesstoken;publicstatic
___
finalStringKEYEXPIRESIN=expiresin;
/**
*将Token对象保存到
SharedPreferences。**@param
context应用程序上下文环境*@param
tokenToken对象
/*
*Copyright(C)2010-2013TheSINAWEIBOOpenSourceProject
*
*LicensedundertheApacheLicense,Version2.0(theLicense);
*youmaynotusethisfileexceptincompliancewiththeLicense.
*YoumayobtainacopyoftheLicenseat
*
*/licenses/LICENSE-2.0
*
*Unlessrequiredbyapplicablelaworagreedtoinwriting,software
*distributedundertheLicenseisdistributedonanASISBASIS,
*WITHOUTWARRANTIESORCONDITIONSOFANYKIND,eitherexpressorimplied.
*SeetheLicenseforthespecificlanguagegoverningpermissionsand
*limitationsundertheLicense.
*/
packagecom.lm.weibo.android;
importandroid.content.Context;
importandroid.content.SharedPreferences;
importandroid.content.SharedPreferences.Editor;
importcom.sina.weibo.sdk.auth.Oauth2AccessToken;
/**
*该类定义了微博授权时所需要的参数。
*
*@authorSINA
*@since2013-10-07
*/
publicclassAccessTokenKeeper{
publicstaticfinalStringPREFERENCES_NAME=com_lm_weibo_android;
您可能关注的文档
最近下载
- 佳能Canon Powershot SX220 HS_SX230 HS(中文)说明书.pdf VIP
- 钢结构2018年定额.pdf
- 公司内部之间的转账合同6篇.docx VIP
- 2025年无人机驾驶员执照失控恢复中的遥控器链路中断应对专题试卷及解析.pdf VIP
- Supor 苏泊尔 JP12D-800温养破壁料理机说明书.pdf
- 喜人奇妙夜小品《分工明确》完整剧本(含赏析)【精选】.docx VIP
- 2026-2031中国无人船无人潜航器行业市场规模及投资前景预测分析报告.docx VIP
- GBT 1800.1-2020 产品几何技术规范(GPS) 线性尺寸公差ISO代号体系 第1部分:公差、.pdf
- 《计算机应用基础》课程上机操作题.doc VIP
- 2025年金融风险管理师CDS与债券基差的交易策略专题试卷及解析.pdf VIP
原创力文档

文档评论(0)