IUserLoginStore<TUser>.GetLoginsAsync(TUser, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the associated logins for the specified .
public:
System::Threading::Tasks::Task<System::Collections::Generic::IList<Microsoft::AspNetCore::Identity::UserLoginInfo ^> ^> ^ GetLoginsAsync(TUser user, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.AspNetCore.Identity.UserLoginInfo>> GetLoginsAsync (TUser user, System.Threading.CancellationToken cancellationToken);
abstract member GetLoginsAsync : 'User * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.AspNetCore.Identity.UserLoginInfo>>
Public Function GetLoginsAsync (user As TUser, cancellationToken As CancellationToken) As Task(Of IList(Of UserLoginInfo))
Parameters
- user
- TUser
The user whose associated logins to retrieve.
- cancellationToken
- CancellationToken
The CancellationToken used to propagate notifications that the operation should be canceled.
Returns
The Task for the asynchronous operation, containing a list of UserLoginInfo for the specified user
, if any.