using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SC.XR.Unity.Module_Authentication { public class API_Module_Authentication { public static void RegistAuthenticationEventCallback(Action callback) { AuthenticationManager.Instance.onAuthenticationEventCallback += callback; } public static void UnRegistAuthenticationEventCallback(Action callback) { AuthenticationManager.Instance.onAuthenticationEventCallback -= callback; } public static void Authentication() { AuthenticationManager.Instance.GetAuthenticationInfo(); } } }