< Back

New-KBFAuthHeader

Thu Jan 16, 2020 10:05 am

NAME New-KBFAuthHeader



SYNOPSIS

Create a base64 auth header for Kanbanflow authentication





SYNTAX

New-KBFAuthHeader [-ApiToken] <String> [<CommonParameters>]





DESCRIPTION

Kanbanflow recommends using base64 encoded authentication

that is embedded within the header of requests.



This function takes in an ApiToken and generates a Hashtable

which can be passed as Header to Invoke-RestMethod.





PARAMETERS

-ApiToken <String>



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>$headers = New-KBFAuthHeader -ApiToken "..."















RELATED LINKS