ApiKeyAttribute class
Only valid API key values (GUIDs) are allowed. Does not check wether the key exists or not.
[AttributeUsage(AttributeTargets.All)]
public class ApiKeyAttribute : ValidationAttributeBase
Public Members
name | description |
---|---|
ApiKeyAttribute() | The default constructor. |
override AddValidation(…) | |
override IsValid(…) |
Protected Members
name | description |
---|---|
override GetErrorMessage() | |
override IsValid(…) |
See Also
- class ValidationAttributeBase
- namespace Amica