New PodeCsrfToken - mdaneri/Pode GitHub Wiki


external help file: Pode-help.xml Module Name: Pode online version: PodeType: Middleware schema: 2.0.0

New-PodeCsrfToken

SYNOPSIS

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

SYNTAX

New-PodeCsrfToken [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION

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

EXAMPLES

EXAMPLE 1

$token = New-PodeCsrfToken

PARAMETERS

-ProgressAction

{{ Fill ProgressAction Description }}

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

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

RELATED LINKS

⚠️ **GitHub.com Fallback** ⚠️