Ejemplo n.º 1
0
        public async Task LoginAsync(string usernId, string password)
        {
            var response = await tokenClient.AuthenticateAsync(usernId, password);

            await tokenAuthenticationStateProvider.SetTokenAsync(response.Token);

            await FetchUserProfileAsync();
        }