Skip to content

New-PodeAuthDigestScheme

SYNOPSIS

Creates a new Digest Authentication Scheme.

SYNTAX

New-PodeAuthDigestScheme [[-Realm] <String>] [[-HeaderTag] <String>] [[-Description] <String>]
 [[-Middleware] <Object[]>] [[-InnerScheme] <Hashtable>] [-ProgressAction <ActionPreference>]
 [<CommonParameters>]

DESCRIPTION

Creates a new Digest Authentication Scheme.

EXAMPLES

EXAMPLE 1

$scheme = New-PodeAuthDigestScheme

PARAMETERS

-Description

An optional short description for Authentication Scheme. CommonMark syntax MAY be used for rich text representation.

Type: String
Parameter Sets: (All)
Aliases:

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

-HeaderTag

The "Tag" name to use in the Authorization header during parsing. (Default: Digest)

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 2
Default value: Digest
Accept pipeline input: False
Accept wildcard characters: False

-InnerScheme

An optional Authentication Scheme (such as New-PodeAuthFormScheme) that will be called prior to this Scheme.

Type: Hashtable
Parameter Sets: (All)
Aliases:

Required: False
Position: 5
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-Middleware

An optional array of Middleware ScriptBlocks to run before the Scheme's scriptblock.

Type: Object[]
Parameter Sets: (All)
Aliases:

Required: False
Position: 4
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

-Realm

An optional Realm to use. (Default: User)

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Default value: User
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.Collections.Hashtable

NOTES