Skip to content

Instantly share code, notes, and snippets.

@sirvon
Last active February 10, 2016 08:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sirvon/bf98c693ca21df65c240 to your computer and use it in GitHub Desktop.
Save sirvon/bf98c693ca21df65c240 to your computer and use it in GitHub Desktop.
AuthToken pojo
@ParseClass
Public class AuthToken {
String token;
String provider;
}
//put this part after u get the linkedin token.
//save linkedin token to shared press (secure)
//token = variable
//linkedinTokenProviderrovider = variable
ParseModel.AuthToken token = new ParseModel.AuthToken();
token.setName(token);
token.setProvider(linkedinTokenProvider);
person.saveInBackground();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment