Compartir a través de


IdentityBuilder.AddUserStore<TStore> Método

Definición

Agrega un IUserStore<TUser> objeto para .UserType

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

Parámetros de tipo

T TUser TStore

Tipo de almacén de usuario.

Devoluciones

Instancia de IdentityBuilder actual.

Se aplica a