Class AuthKeyValidator
Uses MAC address as key if no app setting is found.
Inheritance
System.Object
AuthKeyValidator
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ImageVault.Common.Lib.Web
Assembly: ImageVault.Common.dll
Syntax
public class AuthKeyValidator : IAuthKeyValidator
Constructors
AuthKeyValidator(IEnumerable<IAuthKeyReader>)
Initializes a new instance of the AuthKeyValidator class.
Declaration
public AuthKeyValidator(IEnumerable<IAuthKeyReader> readers = null)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<IAuthKeyReader> | readers |
Fields
Log
Get/Sets the Log of the AuthKeyValidator
Declaration
protected ILog Log
Field Value
Type | Description |
---|---|
ILog |
Methods
Validate(String)
Declaration
public void Validate(string keyToTest)
Parameters
Type | Name | Description |
---|---|---|
System.String | keyToTest |
Exceptions
Type | Condition |
---|---|
System.Exception | If authKey validation failed: or if authKey validation failed: . |