OAuth2 的 Swift 实现 SwiftOAuth2

码农软件 · 软件分类 · OAuth开发包 · 2019-04-18 20:27:36

软件介绍

SwiftOAuth2 是 OAuth2 的 Swift 实现。

使用

首先要创建一个 CROAuth2Client 对象:

// From a UIViewController (used to present the authentication webview if necessary)
CROAuth2Client.clientWithPresentingController(self)

简单的查询访问 token:

 self.client!.retrieveAuthToken({ (authToken) -> Void in

            if let optionnalAuthToken = authToken {
                println("Received access token " + optionnalAuthToken)
            }

        })

本文地址:https://www.codercto.com/soft/d/3878.html

Viral Loop

Viral Loop

Adam L. Penenberg / Tantor Media / 2009-10-27 / USD 34.99

From Google to Facebook, a respected journalist delves into how a "viral loop" can make an online business a success.一起来看看 《Viral Loop》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试