C# Класс Disco.Services.Authorization.ClaimExtensions

Показать файл Открыть проект

Открытые методы

Метод Описание
Has ( this c, string ClaimKey ) : bool
Set ( this c, string ClaimKey, bool Value ) : void
SetClaims ( this role, RoleClaims Claims ) : void

Описание методов

Has() публичный статический Метод

public static Has ( this c, string ClaimKey ) : bool
c this
ClaimKey string
Результат bool

Set() публичный статический Метод

public static Set ( this c, string ClaimKey, bool Value ) : void
c this
ClaimKey string
Value bool
Результат void

SetClaims() публичный статический Метод

public static SetClaims ( this role, RoleClaims Claims ) : void
role this
Claims Disco.Services.Authorization.Roles.RoleClaims
Результат void