internal void OnApiError(string result) { LineAPI._OnApiError(result); }
/// <summary> /// Logs out the current user by revoking the access token. /// </summary> /// <param name="action"> /// The callback action to be invoked when the logout process finishes. /// </param> public void Logout(Action <Result <Unit> > action) { LineAPI.Logout(action); }
internal void OnApiOk(string result) { LineAPI._OnApiOk(result); }
/// <summary> /// Logs in to the LINE Platform with the specified scopes and an option. /// </summary> /// <param name="scopes"> /// The set of permissions requested by your app. If `null` or empty, /// the "profile" scope is used. /// </param> /// <param name="option"> /// The options used during the login process. /// </param> /// <param name="action"> /// The callback action to be invoked when the login process finishes. /// </param> public void Login(string[] scopes, LoginOption option, Action <Result <LoginResult> > action) { LineAPI.Login(scopes, option, action); }