Share via


IUserClaimStore<TUser>.GetClaimsAsync Method

Returns the claims for the user with the issuer set

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

Syntax

'Declaration
Function GetClaimsAsync ( _
    user As TUser _
) As Task(Of IList(Of Claim))
'Usage
Dim instance As IUserClaimStore 
Dim user As TUser
Dim returnValue As Task(Of IList(Of Claim))

returnValue = instance.GetClaimsAsync(user)
Task<IList<Claim>> GetClaimsAsync(
    TUser user
)
Task<IList<Claim^>^>^ GetClaimsAsync(
    TUser user
)
abstract GetClaimsAsync : 
        user:'TUser -> Task<IList<Claim>> 
function GetClaimsAsync(
    user : TUser
) : Task<IList<Claim>>

Parameters

Return Value

Type: System.Threading.Tasks.Task<IList<Claim>>

See Also

Reference

IUserClaimStore<TUser> Interface

Microsoft.AspNet.Identity Namespace