mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-02-21 14:30:59 +08:00
15 lines
325 B
Java
15 lines
325 B
Java
package com.openisle.service;
|
|
|
|
/**
|
|
* Abstract service for verifying CAPTCHA tokens.
|
|
*/
|
|
public abstract class CaptchaService {
|
|
/**
|
|
* Verify the CAPTCHA token sent from client.
|
|
*
|
|
* @param token CAPTCHA token
|
|
* @return true if token is valid
|
|
*/
|
|
public abstract boolean verify(String token);
|
|
}
|