Skip to content

Commit 1bbf48e

Browse files
committed
Sample Improvement
1 parent 211574f commit 1bbf48e

File tree

9 files changed

+6
-8
lines changed

9 files changed

+6
-8
lines changed

samples/UAuthHub/CodeBeam.UltimateAuth.Sample.UAuthHub/Components/Pages/Home.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
@using CodeBeam.UltimateAuth.Client
44
@using CodeBeam.UltimateAuth.Client.Authentication
55
@using CodeBeam.UltimateAuth.Client.Diagnostics
6-
@using CodeBeam.UltimateAuth.Client.Utilities
6+
@using CodeBeam.UltimateAuth.Client.Infrastructure
77
@using CodeBeam.UltimateAuth.Core.Abstractions
88
@using CodeBeam.UltimateAuth.Core.Contracts
99
@using CodeBeam.UltimateAuth.Core.Domain

samples/UAuthHub/CodeBeam.UltimateAuth.Sample.UAuthHub/Components/Pages/Home.razor.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using CodeBeam.UltimateAuth.Client.Contracts;
2-
using CodeBeam.UltimateAuth.Client.Utilities;
32
using CodeBeam.UltimateAuth.Core.Contracts;
43
using CodeBeam.UltimateAuth.Core.Domain;
54
using CodeBeam.UltimateAuth.Server.Stores;

src/CodeBeam.UltimateAuth.Client/Abstractions/IBrowserStorage.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using CodeBeam.UltimateAuth.Client.Contracts;
22

3-
namespace CodeBeam.UltimateAuth.Client.Utilities;
3+
namespace CodeBeam.UltimateAuth.Client.Infrastructure;
44

55
public interface IBrowserStorage
66
{

src/CodeBeam.UltimateAuth.Client/Authentication/UAuthAuthenticatonStateProvider.cs renamed to src/CodeBeam.UltimateAuth.Client/Authentication/UAuthAuthenticationStateProvider.cs

File renamed without changes.

src/CodeBeam.UltimateAuth.Client/Device/BrowserDeviceIdStorage.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
using CodeBeam.UltimateAuth.Client.Contracts;
2-
using CodeBeam.UltimateAuth.Client.Utilities;
2+
using CodeBeam.UltimateAuth.Client.Infrastructure;
33

44
namespace CodeBeam.UltimateAuth.Client.Device;
55

src/CodeBeam.UltimateAuth.Client/Extensions/ServiceCollectionExtensions.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
using CodeBeam.UltimateAuth.Client.Options;
88
using CodeBeam.UltimateAuth.Client.Runtime;
99
using CodeBeam.UltimateAuth.Client.Services;
10-
using CodeBeam.UltimateAuth.Client.Utilities;
1110
using CodeBeam.UltimateAuth.Core.Abstractions;
1211
using CodeBeam.UltimateAuth.Core.Options;
1312
using Microsoft.AspNetCore.Components.Authorization;

src/CodeBeam.UltimateAuth.Client/Infrastructure/BrowserStorage.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using CodeBeam.UltimateAuth.Client.Contracts;
22
using Microsoft.JSInterop;
33

4-
namespace CodeBeam.UltimateAuth.Client.Utilities;
4+
namespace CodeBeam.UltimateAuth.Client.Infrastructure;
55

66
public sealed class BrowserStorage : IBrowserStorage
77
{

src/CodeBeam.UltimateAuth.Client/Services/UAuthFlowClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public async Task<RefreshResult> RefreshAsync(bool isAuto = false)
102102
public async Task ReauthAsync()
103103
{
104104
var url = Url(_options.Endpoints.Reauth);
105-
await _post.NavigateAsync(_options.Endpoints.Reauth);
105+
await _post.NavigateAsync(url);
106106
}
107107

108108
public async Task<AuthValidationResult> ValidateAsync()

src/CodeBeam.UltimateAuth.Client/Services/UAuthUserIdentifierClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
namespace CodeBeam.UltimateAuth.Client.Services;
99

10-
public class UAuthUserIdentifierClient : IUserIdentifierClient
10+
internal class UAuthUserIdentifierClient : IUserIdentifierClient
1111
{
1212
private readonly IUAuthRequestClient _request;
1313
private readonly UAuthClientOptions _options;

0 commit comments

Comments
 (0)