Table of Contents

Class ScopePermissionAttribute

Namespace
Steeltoe.Security.Authentication.CloudFoundry.Wcf
Assembly
Steeltoe.Security.Authentication.CloudFoundryWcf.dll
[Serializable]
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Method, AllowMultiple = true, Inherited = true)]
public class ScopePermissionAttribute : CodeAccessSecurityAttribute, _Attribute
Inheritance
ScopePermissionAttribute
Implements
Inherited Members

Constructors

ScopePermissionAttribute(SecurityAction)

public ScopePermissionAttribute(SecurityAction action)

Parameters

action SecurityAction

Properties

Scope

public string Scope { get; set; }

Property Value

string

Methods

CreatePermission()

When overridden in a derived class, creates a permission object that can then be serialized into binary form and persistently stored along with the SecurityAction in an assembly's metadata.

public override IPermission CreatePermission()

Returns

IPermission

A serializable permission object.