SessionManager<TUser, TApplication>
SessionManager(IOptions<IdentityServiceOptions>, IOptions<IdentityOptions>, IOptionsSnapshot<CookieAuthenticationOptions>, ITimeStampManager, UserManager<TUser>, IUserClaimsPrincipalFactory<TUser>, IApplicationClaimsPrincipalFactory<TApplication>, ApplicationManager<TApplication>, IHttpContextAccessor, ProtocolErrorProvider)
CreateSessionAsync(String, String)
IsAuthorizedAsync(AuthorizationRequest)
net9.0
namespace Microsoft.AspNetCore.Identity.Service
{
public class SessionManager<TUser, TApplication> : SessionManager
where TUser, class
where TApplication, class
{
[AsyncStateMachine(typeof(<CreateSessionAsync>d__6))]
public override 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