2016-02-05 153 views

回答

0

你需要的是如下:

  1. 创建AuthenticationContext
  2. 设置一个ClientCredential
  3. 使用AuthenticationContext获取令牌
  4. 你必须传递一个回调如果认证是很好,你将在AuthenticationCallback的onSuccess中收到AuthenticationResult
  5. 你可以从AuthenticationResult.UserInfo.DisplayableId获取信息