internal static async Task <string> GetUserName(AuthProvider provider) { if (provider == AuthProvider.MicrosoftAccount) { return(await LiveIdAuth.GetUserName()); } else { return(await O365Auth.GetUserName()); } }
internal static async Task SignOut(AuthProvider provider) { if (provider == AuthProvider.MicrosoftAccount) { await LiveIdAuth.SignOut(); } else { await O365Auth.SignOut(); } }