Last active
August 29, 2015 14:04
-
-
Save junojisan/7525c79936b7c140284d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public with sharing class OAuthCallbackController { | |
// OAuthModel | |
public OAuthModel oauthModel {get; set;} | |
// Salesforceからのレスポンスを保持する | |
public String resBody {get; set;} | |
// 取引先を保持するリスト | |
public List<Account> accounts {get; set;} | |
// Salesforceから戻されるアクセストークンなどの情報を保持する内部クラス | |
public class OAuthModel { | |
public String id {get; set;} | |
public String issued_at {get; set;} | |
public String refresh_token {get; set;} | |
public String instance_url {get; set;} | |
public String signature {get; set;} | |
public String access_token {get; set;} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment