Test-PodeSseClientIdSigned
SYNOPSIS
Test if an SSE connection ClientId is validly signed.
SYNTAX
Test-PodeSseClientIdSigned [[-ClientId] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
DESCRIPTION
Test if an SSE connection ClientId is validly signed.
EXAMPLES
EXAMPLE 1
if (Test-PodeSseClientIdValid) { ... }
EXAMPLE 2
if (Test-PodeSseClientIdValid -ClientId 's:my-already-signed-client-id.uvG49LcojTMuJ0l4yzBzr6jCqEV8gGC/0YgsYU1QEuQ=') { ... }
PARAMETERS
-ClientId
An optional SSE connection ClientId, if not supplied it will be retrieved from $WebEvent.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-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.