All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.leopard.web4j.nobug.csrf.CsrfDao Maven / Gradle / Ivy

There is a newer version: 0.9.12
Show newest version
package io.leopard.web4j.nobug.csrf;

import javax.servlet.http.HttpServletRequest;

public interface CsrfDao {

	// public static final String publicKey = "csrfTokenKeyxx123";

	// void checkToken(String user, String token);

	/**
	 * 获取当前账号.
	 * 
	 * @return
	 */
	String getAccount(HttpServletRequest request);

	String encrypt(String str);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy