Checks if the input data can be handled by this class. Throws an error if it can't handle the data.
Input data that could potentially be handled.
A promise resolving if the input can be handled, rejecting with an Error if not.
Generates a random verification token;
Creates a key to use with the token storage.
Handles the given input. This should only be done if the canHandle function returned true
.
Therefore, consider using the handleSafe function instead.
A promise resolving when the handling is finished. Return value depends on the given type.
Input data that will be handled if it can be handled.
A promise resolving if the input can be handled, rejecting with an Error if not. Return value depends on the given type.
Throws an error containing the description of which triple is needed for verification.
Validates ownership of a WebId by seeing if a specific triple can be added.
expiration
parameter is how long the token should be valid in minutes.