Share via


IdentityBuilder.AddUserStore<TStore> Method

Definition

Adds an IUserStore<TUser> for the 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

Type Parameters

T TUser TStore

The user store type.

Returns

The current IdentityBuilder instance.

Applies to