SessionManager
_errorProvider
SessionManager(IOptions<IdentityServiceOptions>, IOptions<IdentityOptions>, IOptionsSnapshot<CookieAuthenticationOptions>, ITimeStampManager, IHttpContextAccessor, ProtocolErrorProvider)
Context
CreateSessionAsync(String, String)
EndSessionAsync(LogoutRequest)
GetCurrentLoggedInUser()
GetCurrentSessions()
IsAuthenticatedWithApplication(ClaimsPrincipal, ClaimsPrincipal, OpenIdConnectMessage)
IsAuthorizedAsync(AuthorizationRequest)
StartSessionAsync(ClaimsPrincipal, ClaimsPrincipal)
net9.0
namespace Microsoft.AspNetCore.Identity.Service
{
public abstract class SessionManager
{
public abstract Task<Session> CreateSessionAsync(string userId, string clientId);
}
}
| .NET | 5.06.07.08.09.010.011.0 |
|---|---|
| .NET Core | 2.02.12.23.03.1 |
Information specific to net9.0 | |
| Assembly | Microsoft.AspNetCore.Identity.Service , Version=1.0.0.0, PublicKeyToken=adb9793829ddae60 |
| Referencing | Your project needs a package reference to |
| Package | Microsoft.AspNetCore.Identity.Service (1.0.0-preview1-final) netcoreapp2.0 |
| Preview | This API is contained in a prerelease package. |
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API