Freigeben über


UserClaimsPrincipalFactory<TUser,TRole> Konstruktoren

Definition

Überlädt

UserClaimsPrincipalFactory<TUser,TRole>(UserManager<TUser>, RoleManager<TRole>, IOptions<IdentityOptions>)

Initialisiert eine neue Instanz der UserClaimsPrincipalFactory<TUser,TRole>-Klasse.

UserClaimsPrincipalFactory<TUser,TRole>(UserManager<TUser>, RoleManager<TRole>, IOptions<IdentityOptions>)

Initialisiert eine neue Instanz der UserClaimsPrincipalFactory<TUser,TRole>-Klasse.

UserClaimsPrincipalFactory<TUser,TRole>(UserManager<TUser>, RoleManager<TRole>, IOptions<IdentityOptions>)

Initialisiert eine neue Instanz der UserClaimsPrincipalFactory<TUser,TRole>-Klasse.

public:
 UserClaimsPrincipalFactory(Microsoft::AspNetCore::Identity::UserManager<TUser> ^ userManager, Microsoft::AspNetCore::Identity::RoleManager<TRole> ^ roleManager, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Builder::IdentityOptions ^> ^ optionsAccessor);
public UserClaimsPrincipalFactory (Microsoft.AspNetCore.Identity.UserManager<TUser> userManager, Microsoft.AspNetCore.Identity.RoleManager<TRole> roleManager, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.IdentityOptions> optionsAccessor);
new Microsoft.AspNetCore.Identity.UserClaimsPrincipalFactory<'User, 'Role (requires 'User : null and 'Role : null)> : Microsoft.AspNetCore.Identity.UserManager<'User (requires 'User : null)> * Microsoft.AspNetCore.Identity.RoleManager<'Role (requires 'Role : null)> * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.IdentityOptions> -> Microsoft.AspNetCore.Identity.UserClaimsPrincipalFactory<'User, 'Role (requires 'User : null and 'Role : null)>
Public Sub New (userManager As UserManager(Of TUser), roleManager As RoleManager(Of TRole), optionsAccessor As IOptions(Of IdentityOptions))

Parameter

userManager
UserManager<TUser>

Die UserManager<TUser> , aus der Benutzerinformationen abgerufen werden sollen.

roleManager
RoleManager<TRole>

Die RoleManager<TRole> , aus der die Rollen eines Benutzers abgerufen werden sollen.

optionsAccessor
IOptions<IdentityOptions>

Die konfigurierte Zielgruppe (IdentityOptions).

Gilt für:

UserClaimsPrincipalFactory<TUser,TRole>(UserManager<TUser>, RoleManager<TRole>, IOptions<IdentityOptions>)

Quelle:
UserClaimsPrincipalFactory.cs
Quelle:
UserClaimsPrincipalFactory.cs
Quelle:
UserClaimsPrincipalFactory.cs
Quelle:
UserClaimsPrincipalFactory.cs
Quelle:
UserClaimsPrincipalFactory.cs
Quelle:
UserClaimsPrincipalFactory.cs
Quelle:
UserClaimsPrincipalFactory.cs
Quelle:
UserClaimsPrincipalFactory.cs
Quelle:
UserClaimsPrincipalFactory.cs

Initialisiert eine neue Instanz der UserClaimsPrincipalFactory<TUser,TRole>-Klasse.

public:
 UserClaimsPrincipalFactory(Microsoft::AspNetCore::Identity::UserManager<TUser> ^ userManager, Microsoft::AspNetCore::Identity::RoleManager<TRole> ^ roleManager, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Identity::IdentityOptions ^> ^ options);
public UserClaimsPrincipalFactory (Microsoft.AspNetCore.Identity.UserManager<TUser> userManager, Microsoft.AspNetCore.Identity.RoleManager<TRole> roleManager, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Identity.IdentityOptions> options);
new Microsoft.AspNetCore.Identity.UserClaimsPrincipalFactory<'User, 'Role (requires 'User : null and 'Role : null)> : Microsoft.AspNetCore.Identity.UserManager<'User (requires 'User : null)> * Microsoft.AspNetCore.Identity.RoleManager<'Role (requires 'Role : null)> * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Identity.IdentityOptions> -> Microsoft.AspNetCore.Identity.UserClaimsPrincipalFactory<'User, 'Role (requires 'User : null and 'Role : null)>
Public Sub New (userManager As UserManager(Of TUser), roleManager As RoleManager(Of TRole), options As IOptions(Of IdentityOptions))

Parameter

userManager
UserManager<TUser>

Die UserManager<TUser> , aus der Benutzerinformationen abgerufen werden sollen.

roleManager
RoleManager<TRole>

Die RoleManager<TRole> , aus der die Rollen eines Benutzers abgerufen werden sollen.

options
IOptions<IdentityOptions>

Die konfigurierte Zielgruppe (IdentityOptions).

Gilt für: