C# Класс URSA.Security.ResourceSecurityInfo

Describes a security requirements of a resource.
Наследование: ICloneable
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Allow ( string claimType, string claimValue = null ) : ResourceSecurityInfo

Allows the specified claim type.

Clone ( ) : ResourceSecurityInfo

Clones this instance.

Deny ( string claimType, string claimValue = null ) : ResourceSecurityInfo

Denies the specified claim type.

Disallow ( string claimType, string claimValue = null ) : ResourceSecurityInfo

Disallows the specified claim type.

OverrideWith ( ResourceSecurityInfo specificSecurityInfo ) : ResourceSecurityInfo

Merges specifications overriding settings with those taken from specificSecurityInfo.

ResourceSecurityInfo ( ) : System

Initializes a new instance of the ResourceSecurityInfo class.

Undeny ( string claimType, string claimValue = null ) : ResourceSecurityInfo

Undenies the specified claim type.

Приватные методы

Метод Описание
ICloneable ( ) : object
Merge ( SecuritySpecificationInfo securitySpecificationInfo, object>.Expression mergingDelegate ) : void
ResourceSecurityInfo ( SecuritySpecificationInfo allowed, SecuritySpecificationInfo denied ) : System

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

Allow() публичный Метод

Allows the specified claim type.
public Allow ( string claimType, string claimValue = null ) : ResourceSecurityInfo
claimType string Type of the claim.
claimValue string The claim value.
Результат ResourceSecurityInfo

Clone() публичный Метод

Clones this instance.
public Clone ( ) : ResourceSecurityInfo
Результат ResourceSecurityInfo

Deny() публичный Метод

Denies the specified claim type.
public Deny ( string claimType, string claimValue = null ) : ResourceSecurityInfo
claimType string Type of the claim.
claimValue string The claim value.
Результат ResourceSecurityInfo

Disallow() публичный Метод

Disallows the specified claim type.
public Disallow ( string claimType, string claimValue = null ) : ResourceSecurityInfo
claimType string Type of the claim.
claimValue string The claim value.
Результат ResourceSecurityInfo

OverrideWith() публичный Метод

Merges specifications overriding settings with those taken from specificSecurityInfo.
public OverrideWith ( ResourceSecurityInfo specificSecurityInfo ) : ResourceSecurityInfo
specificSecurityInfo ResourceSecurityInfo The specific security information to merge with.
Результат ResourceSecurityInfo

ResourceSecurityInfo() публичный Метод

Initializes a new instance of the ResourceSecurityInfo class.
public ResourceSecurityInfo ( ) : System
Результат System

Undeny() публичный Метод

Undenies the specified claim type.
public Undeny ( string claimType, string claimValue = null ) : ResourceSecurityInfo
claimType string Type of the claim.
claimValue string The claim value.
Результат ResourceSecurityInfo