Skip to content
This repository was archived by the owner on Feb 19, 2025. It is now read-only.

Commit 8b2d496

Browse files
committed
Update namespace for IdentityModel to Duende.IdentityModel
1 parent 92fe165 commit 8b2d496

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

Pages/Account/Logout/Index.cshtml.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
// Copyright (c) Duende Software. All rights reserved.
22
// See LICENSE in the project root for license information.
33

4+
using Duende.IdentityModel;
45
using Duende.IdentityServer.Events;
56
using Duende.IdentityServer.Extensions;
67
using Duende.IdentityServer.Services;
7-
using IdentityModel;
88
using Microsoft.AspNetCore.Authentication;
99
using Microsoft.AspNetCore.Authorization;
1010
using Microsoft.AspNetCore.Mvc;
@@ -97,4 +97,4 @@ public async Task<IActionResult> OnPost()
9797

9898
return RedirectToPage("/Account/Logout/LoggedOut", new { logoutId = LogoutId });
9999
}
100-
}
100+
}

Pages/Consent/Index.cshtml.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
// Copyright (c) Duende Software. All rights reserved.
22
// See LICENSE in the project root for license information.
33

4+
using Duende.IdentityModel;
45
using Duende.IdentityServer.Events;
56
using Duende.IdentityServer.Extensions;
67
using Duende.IdentityServer.Models;
78
using Duende.IdentityServer.Services;
89
using Duende.IdentityServer.Validation;
9-
using IdentityModel;
1010
using Microsoft.AspNetCore.Authorization;
1111
using Microsoft.AspNetCore.Mvc;
1212
using Microsoft.AspNetCore.Mvc.RazorPages;
@@ -233,4 +233,4 @@ private static ScopeViewModel CreateOfflineAccessScope(bool check)
233233
Checked = check
234234
};
235235
}
236-
}
236+
}

Pages/Diagnostics/ViewModel.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright (c) Duende Software. All rights reserved.
22
// See LICENSE in the project root for license information.
33

4-
using IdentityModel;
4+
using Duende.IdentityModel;
55
using Microsoft.AspNetCore.Authentication;
66
using System.Text;
77
using System.Text.Json;

Pages/ExternalLogin/Callback.cshtml.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
// See LICENSE in the project root for license information.
33

44
using System.Security.Claims;
5+
using Duende.IdentityModel;
56
using Duende.IdentityServer;
67
using Duende.IdentityServer.Events;
78
using Duende.IdentityServer.Services;
89
using Duende.IdentityServer.Test;
9-
using IdentityModel;
1010
using Microsoft.AspNetCore.Authentication;
1111
using Microsoft.AspNetCore.Authorization;
1212
using Microsoft.AspNetCore.Mvc;
@@ -145,4 +145,4 @@ private static void CaptureExternalLoginContext(AuthenticateResult externalResul
145145
localSignInProps.StoreTokens(new[] { new AuthenticationToken { Name = "id_token", Value = idToken } });
146146
}
147147
}
148-
}
148+
}

Pages/TestUsers.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
// Copyright (c) Duende Software. All rights reserved.
22
// See LICENSE in the project root for license information.
33

4-
using IdentityModel;
54
using System.Security.Claims;
65
using System.Text.Json;
6+
using Duende.IdentityModel;
77
using Duende.IdentityServer;
88
using Duende.IdentityServer.Test;
99

0 commit comments

Comments
 (0)