ACAccountCredential
来源:互联网 发布:代码高亮 源码 编辑:程序博客网 时间:2024/05/16 03:19
ACAccountCredential记录账户的身份信息。
1 Initializing Credentials
// 初始化ACAccountCredentialpublic init!(OAuthToken token: String!, tokenSecret secret: String!)// 初始化ACAccountCredentialpublic init!(OAuth2Token token: String!, refreshToken: String!, expiryDate: NSDate!)
2 Accessing Credential Properties
// OAuth2证书tokenpublic var oauthToken: String!
Appendix
Sample Code
Swift
Related Documentation
Accounts Framework Reference
ACAccountCredential Class Reference
Revision History
Copyright
CSDN:http://blog.csdn.net/y550918116j
GitHub:https://github.com/937447974/Blog
0 0