net/xsrftoken
Alexey Vilenski 59f7323070 xsrftoken: add custom timeout support for valid func
Added new function 'ValidFor' with custom token timeout support.
Function 'Valid' will use default token timeout.

Fixes golang/go#41438

Change-Id: I5cf0388aeed7ca34edcb0d3493c3e79c8ce19938
GitHub-Last-Rev: 3e3b581796
GitHub-Pull-Request: golang/net#86
Reviewed-on: https://go-review.googlesource.com/c/net/+/260317
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Trust: Filippo Valsorda <filippo@golang.org>
2020-10-08 22:28:04 +00:00
..
xsrf.go xsrftoken: add custom timeout support for valid func 2020-10-08 22:28:04 +00:00
xsrf_test.go xsrftoken: add custom timeout support for valid func 2020-10-08 22:28:04 +00:00