RoleManager<TRole>.GetClaimsAsync(TRole) Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Belirtilen role
ile ilişkili taleplerin listesini alır.
public:
virtual System::Threading::Tasks::Task<System::Collections::Generic::IList<System::Security::Claims::Claim ^> ^> ^ GetClaimsAsync(TRole role);
public virtual System.Threading.Tasks.Task<System.Collections.Generic.IList<System.Security.Claims.Claim>> GetClaimsAsync (TRole role);
abstract member GetClaimsAsync : 'Role -> System.Threading.Tasks.Task<System.Collections.Generic.IList<System.Security.Claims.Claim>>
override this.GetClaimsAsync : 'Role -> System.Threading.Tasks.Task<System.Collections.Generic.IList<System.Security.Claims.Claim>>
Public Overridable Function GetClaimsAsync (role As TRole) As Task(Of IList(Of Claim))
Parametreler
- role
- TRole
Talepleri döndürülmesi gereken rol.
Döndürülenler
Belirtilen Taskrole
ile ilişkili s listesini Claimiçeren zaman uyumsuz işlemi temsil eden .