Partager via


IdentityBuilder.AddClaimsPrincipalFactory<TFactory> Méthode

Définition

public virtual Microsoft.AspNetCore.Identity.IdentityBuilder AddClaimsPrincipalFactory<T> () where T : class;
public virtual Microsoft.AspNetCore.Identity.IdentityBuilder AddClaimsPrincipalFactory<TUser> () where TUser : class;
public virtual Microsoft.AspNetCore.Identity.IdentityBuilder AddClaimsPrincipalFactory<TFactory> () where TFactory : class;
abstract member AddClaimsPrincipalFactory : unit -> Microsoft.AspNetCore.Identity.IdentityBuilder (requires 'T : null)
override this.AddClaimsPrincipalFactory : unit -> Microsoft.AspNetCore.Identity.IdentityBuilder (requires 'T : null)
abstract member AddClaimsPrincipalFactory : unit -> Microsoft.AspNetCore.Identity.IdentityBuilder (requires 'User : null)
override this.AddClaimsPrincipalFactory : unit -> Microsoft.AspNetCore.Identity.IdentityBuilder (requires 'User : null)
abstract member AddClaimsPrincipalFactory : unit -> Microsoft.AspNetCore.Identity.IdentityBuilder (requires 'Factory : null)
override this.AddClaimsPrincipalFactory : unit -> Microsoft.AspNetCore.Identity.IdentityBuilder (requires 'Factory : null)
Public Overridable Function AddClaimsPrincipalFactory(Of T As Class) () As IdentityBuilder
Public Overridable Function AddClaimsPrincipalFactory(Of TUser As Class) () As IdentityBuilder
Public Overridable Function AddClaimsPrincipalFactory(Of TFactory As Class) () As IdentityBuilder

Paramètres de type

T TUser TFactory

Type de la fabrique principale de revendications.

Retours

Instance actuelle de IdentityBuilder.

S’applique à