AdvantageCMS.Core.Common.BaseClasses Namespace
Advantage CSP

AdvantageApiAuthorizationAttribute Constructor

Initializes a new instance of the AdvantageApiAuthorizationAttribute class.

Namespace:  AdvantageCSP.API
Assembly:  AdvantageCSP.API (in AdvantageCSP.API.dll)

Syntax


public AdvantageApiAuthorizationAttribute(
	Type authorizationType
)

Parameters

authorizationType
Type: Type
The type of authorization filter to apply.

Exceptions


ExceptionCondition
ArgumentException Thrown if authorizationType is null or does not inherit from AdvantageApiAuthorizeBase.