Interface IAuthenticator
This authenticator is used to sign a collection of data with a secret key and return that data in string form. Web requests will be the main user of authenticators.
Inherited Members
Namespace: IdleKit.Core
Assembly: cs.temp.dll.dll
Syntax
public interface IAuthenticator : IInjectable
Methods
Sign(IDictionary, String)
Signs the provided data with the supplied secret key and returns that data formatted as a string.
Declaration
string Sign(IDictionary data, string secret)
Parameters
Type | Name | Description |
---|---|---|
IDictionary | data | The data to sign |
String | secret | The secret key |
Returns
Type | Description |
---|---|
String | A string representation of the signed data |