function
bun.CSRF.generate
@param secret
The secret to use for the token. If not provided, Bun generates a random default secret in memory and uses it.
@param options
The options for the token.
@returns
The generated token.
function
The secret to use for the token. If not provided, Bun generates a random default secret in memory and uses it.
The options for the token.
The generated token.