menu arrow_back close search On Github

Get access token

  1. Home
  2. iOS SDK integration
  3. Get access token
oauth2Module.requestAccess { (accessToken: AnyObject?, error: NSError?) in
    guard error == nil else {
        // handle error
        return
    }

    // use access token
    print("accessToken=\(String(describing: accessToken))")
}
Edit this page