Skip to content

New-PodeCsrfToken

SYNOPSIS

Creates and returns a new secure token for use with CSRF.

SYNTAX

New-PodeCsrfToken [<CommonParameters>]

DESCRIPTION

Creates and returns a new secure token for use with CSRF.

EXAMPLES

EXAMPLE 1

$token = New-PodeCsrfToken

PARAMETERS

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

System.String

NOTES