public void FetchAuthCodeAsync(string oauthUrl, Platform.IAuthCodeHandler handler) { // Platform needs app to get an MSA auth_code. // Need to sign in user via OAuth for given url. Platform.InvokeFetchAuthCode(oauthUrl, handler); }
internal static void InvokeFetchAuthCode(string oauthUrl, Platform.IAuthCodeHandler handler) { _handler = handler; FetchAuthCode?.Invoke(oauthUrl); }