Skip to content

Commit 1989a5b

Browse files
authored
Public API Naming Consistency & Fix Missing Namespaces (#73)
1 parent 6b33648 commit 1989a5b

63 files changed

Lines changed: 163 additions & 164 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎samples/blazor-server/CodeBeam.UltimateAuth.Sample.BlazorServer.EFCore/Components/Dialogs/CredentialDialog.razor.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ private async Task ChangePasswordAsync()
6262
};
6363
}
6464

65-
UAuthResult<ChangeCredentialResult> result;
65+
UAuthResult<CredentialChangeResult> result;
6666
if (UserKey is null)
6767
{
6868
result = await UAuthClient.Credentials.ChangeMyAsync(request);

‎samples/blazor-server/CodeBeam.UltimateAuth.Sample.BlazorServer.EFCore/Components/Dialogs/ResetDialog.razor.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ private async Task RequestResetAsync()
2626
Identifier = _identifier ?? string.Empty
2727
};
2828

29-
var result = await UAuthClient.Credentials.BeginResetMyAsync(request);
29+
var result = await UAuthClient.Credentials.BeginResetAsync(request);
3030
if (!result.IsSuccess || result.Value is null)
3131
{
3232
Snackbar.Add(result.ErrorText ?? "Failed to request credential reset.", Severity.Error);

‎samples/blazor-server/CodeBeam.UltimateAuth.Sample.BlazorServer.EFCore/Components/Pages/ResetCredential.razor.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ private async Task ResetPasswordAsync()
3838
Identifier = Identifier // Coming from UAuthFlowPageBase automatically if begin reset is successful
3939
};
4040

41-
var result = await UAuthClient.Credentials.CompleteResetMyAsync(request);
41+
var result = await UAuthClient.Credentials.CompleteResetAsync(request);
4242

4343
if (result.IsSuccess)
4444
{

‎samples/blazor-server/CodeBeam.UltimateAuth.Sample.BlazorServer/Components/Dialogs/CredentialDialog.razor.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ private async Task ChangePasswordAsync()
6262
};
6363
}
6464

65-
UAuthResult<ChangeCredentialResult> result;
65+
UAuthResult<CredentialChangeResult> result;
6666
if (UserKey is null)
6767
{
6868
result = await UAuthClient.Credentials.ChangeMyAsync(request);

‎samples/blazor-server/CodeBeam.UltimateAuth.Sample.BlazorServer/Components/Dialogs/ResetDialog.razor.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ private async Task RequestResetAsync()
2626
Identifier = _identifier ?? string.Empty
2727
};
2828

29-
var result = await UAuthClient.Credentials.BeginResetMyAsync(request);
29+
var result = await UAuthClient.Credentials.BeginResetAsync(request);
3030
if (!result.IsSuccess || result.Value is null)
3131
{
3232
Snackbar.Add(result.ErrorText ?? "Failed to request credential reset.", Severity.Error);

‎samples/blazor-server/CodeBeam.UltimateAuth.Sample.BlazorServer/Components/Pages/ResetCredential.razor.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ private async Task ResetPasswordAsync()
3838
Identifier = Identifier // Coming from UAuthFlowPageBase automatically if begin reset is successful
3939
};
4040

41-
var result = await UAuthClient.Credentials.CompleteResetMyAsync(request);
41+
var result = await UAuthClient.Credentials.CompleteResetAsync(request);
4242

4343
if (result.IsSuccess)
4444
{

‎samples/blazor-server/CodeBeam.UltimateAuth.Sample.BlazorServer/Program.cs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
using CodeBeam.UltimateAuth.Sample.BlazorServer.Infrastructure;
1010
using CodeBeam.UltimateAuth.Sample.Seed.Extensions;
1111
using CodeBeam.UltimateAuth.Server.Extensions;
12+
using CodeBeam.UltimateAuth.Users;
1213
using Microsoft.AspNetCore.HttpOverrides;
1314
using MudBlazor.Services;
1415
using MudExtensions.Services;

‎samples/blazor-standalone-wasm/CodeBeam.UltimateAuth.Sample.BlazorStandaloneWasm/Components/Dialogs/CredentialDialog.razor.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ private async Task ChangePasswordAsync()
6262
};
6363
}
6464

65-
UAuthResult<ChangeCredentialResult> result;
65+
UAuthResult<CredentialChangeResult> result;
6666
if (UserKey is null)
6767
{
6868
result = await UAuthClient.Credentials.ChangeMyAsync(request);

‎samples/blazor-standalone-wasm/CodeBeam.UltimateAuth.Sample.BlazorStandaloneWasm/Components/Dialogs/ResetDialog.razor.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ private async Task RequestResetAsync()
2626
Identifier = _identifier ?? string.Empty
2727
};
2828

29-
var result = await UAuthClient.Credentials.BeginResetMyAsync(request);
29+
var result = await UAuthClient.Credentials.BeginResetAsync(request);
3030
if (!result.IsSuccess || result.Value is null)
3131
{
3232
Snackbar.Add(result.ErrorText ?? "Failed to request credential reset.", Severity.Error);

‎samples/blazor-standalone-wasm/CodeBeam.UltimateAuth.Sample.BlazorStandaloneWasm/Pages/ResetCredential.razor.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ private async Task ResetPasswordAsync()
3838
Identifier = Identifier // Coming from UAuthFlowPageBase automatically if begin reset is successful
3939
};
4040

41-
var result = await UAuthClient.Credentials.CompleteResetMyAsync(request);
41+
var result = await UAuthClient.Credentials.CompleteResetAsync(request);
4242

4343
if (result.IsSuccess)
4444
{

0 commit comments

Comments
 (0)