This interface defines the functionality of the KeyMaster class.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public interface IKeyMaster
Public Interface IKeyMaster
public interface class IKeyMaster
Members
All Members | Methods | ||||
Icon | Member | Description |
---|---|---|
GenerateToken(IAuthenticationParameters, IKeyMasterFormatter) |
Generates a KeyMaster token for the given IAuthenticationParameters.
|
Remarks
This interface is provided in order to make unit testing your application easier. You should use a mock library (for example Moq, or NMock2) to create a mock object which implements this interface, thus removing the dependency on the real KeyMaster implementation.