コード例 #1
0
 /// <summary>
 /// Unity will just auto-initialize this. Since we're not responsible for login, we don't
 /// need the application id -- just the tokens.
 /// </summary>
 internal static void Initialize()
 {
     ParseUser.RegisterProvider(authProvider);
 }
コード例 #2
0
 /// <summary>
 /// Initializes Facebook for use with Parse.
 /// </summary>
 /// <param name="applicationId">Your Facebook application ID.</param>
 public static void Initialize(string applicationId)
 {
     authProvider.AppId = applicationId;
     ParseUser.RegisterProvider(authProvider);
 }