Share via

IUserPhoneNumberStore<TUser> Interface


Defines the members for a user phone number store.

Namespace:   Microsoft.AspNet.Identity
Assembly:  Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)


public interface IUserPhoneNumberStore<TUser> : IUserPhoneNumberStore<TUser, string>, 
    IUserStore<TUser, string>, IDisposable
where TUser : class, IUser<string>
generic<typename TUser>
where TUser : ref class, IUser<String^>
public interface class IUserPhoneNumberStore : IUserPhoneNumberStore<TUser, String^>, 
    IUserStore<TUser, String^>, IDisposable
type IUserPhoneNumberStore<'TUser when 'TUser : not struct and IUser<string>> = 
        interface IUserPhoneNumberStore<'TUser, string>
        interface IUserStore<'TUser, string>
        interface IDisposable
Public Interface IUserPhoneNumberStore(Of TUser As { Class, IUser(Of String) })
    Inherits IUserPhoneNumberStore(Of TUser, String), IUserStore(Of TUser, String),

Type Parameters

  • TUser
    The type of user.


Name Description
System_CAPS_pubmethod CreateAsync(TUser)

Asynchronously inserts a new user.(Inherited from IUserStore<TUser, TKey>.)

System_CAPS_pubmethod DeleteAsync(TUser)

Asynchronously deletes a user.(Inherited from IUserStore<TUser, TKey>.)

System_CAPS_pubmethod Dispose()

(Inherited from IDisposable.)

System_CAPS_pubmethod FindByIdAsync(TKey)

Asynchronously finds a user using the specified identifier.(Inherited from IUserStore<TUser, TKey>.)

System_CAPS_pubmethod FindByNameAsync(String)

Asynchronously finds a user by name.(Inherited from IUserStore<TUser, TKey>.)

System_CAPS_pubmethod GetPhoneNumberAsync(TUser)

Asynchronously gets the user phone number.(Inherited from IUserPhoneNumberStore<TUser, TKey>.)

System_CAPS_pubmethod GetPhoneNumberConfirmedAsync(TUser)

Asynchronously gets whether the user phone number is confirmed.(Inherited from IUserPhoneNumberStore<TUser, TKey>.)

System_CAPS_pubmethod SetPhoneNumberAsync(TUser, String)

Asynchronously sets the phone number associated with the user.(Inherited from IUserPhoneNumberStore<TUser, TKey>.)

System_CAPS_pubmethod SetPhoneNumberConfirmedAsync(TUser, Boolean)

Asynchronously sets whether the user phone number is confirmed.(Inherited from IUserPhoneNumberStore<TUser, TKey>.)

System_CAPS_pubmethod UpdateAsync(TUser)

Asynchronously updates a user.(Inherited from IUserStore<TUser, TKey>.)

See Also

Microsoft.AspNet.Identity Namespace
ASP.NET Identity

Return to top