Skip to content

Conversation

grantland
Copy link
Contributor

  • ParseAuthenticationProvider -> ParseAuthenticationCallbacks
  • ParseAuthenticationCallback APIs are synchronous, but executed on bg thread to simplify usage
  • ParseAuthenticationCallback APIs are named more callback-y
  • ParseUser.registerAuthenticationCallbacks(authType, callback) <- now takes "authType" to match rest of APIs

* ParseAuthenticationProvider -> ParseAuthenticationCallbacks
* ParseAuthenticationCallback APIs are synchronous, but executed on bg thread to simplify usage
* ParseAuthenticationCallback APIs are named more callback-y
* ParseUser.registerAuthenticationCallbacks(authType, callback) <- now takes "authType" to match rest of APIs
@grantland
Copy link
Contributor Author

/cc @wangmengyan95 @hallucinogen

@grantland grantland force-pushed the grantland.auth_callbacks branch from 8bf3e43 to 1f926ad Compare September 11, 2015 23:19
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: on a background thread? Don't feel strongly though.

@nlutsenko
Copy link
Contributor

LGTM minus documentation.

@grantland grantland force-pushed the grantland.auth_callbacks branch from 1f926ad to 51ada3e Compare September 14, 2015 20:20
grantland added a commit that referenced this pull request Sep 14, 2015
Clean up third party authentication APIs
@grantland grantland merged commit 799d288 into master Sep 14, 2015
@grantland grantland deleted the grantland.auth_callbacks branch September 14, 2015 22:53
@facebook-github-bot
Copy link

@grantland updated the pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants