security/nonce.go
func NonceValueFromRequest(r *http.Request) NonceStatus {
	if c := r.Context().Value(nonceValueKey); c != nil {
		if v, ok := c.(NonceStatus); ok {
			return v
		}
	}

	return NonceStatus{NonceNotRequested}
}
func NonceValueFromRequest(r *http.Request) NonceStatus {
	if c := r.Context().Value(nonceValueKey); c != nil {
		if v, ok := c.(NonceStatus); ok {
			return v
		}
	}

	return NonceStatus{NonceNotRequested}
}
// NonceValueFromRequest validates a nonce in the given request, and returns
// the validation status.