I hereby claim:
- I am kamyar1979 on github.
- I am kamyar (https://keybase.io/kamyar) on keybase.
- I have a public key whose fingerprint is 501C 5EE1 2BA0 8699 E154 4C69 3346 F754 C787 8090
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
param ( | |
[Parameter(Mandatory=$true)][string]$Uri, | |
[Parameter(Mandatory=$true)][string]$Token, | |
[Parameter(ParameterSetName = 'Exclude')][string[]]$Exclude, | |
[Parameter(ParameterSetName = 'Include')][string[]]$Include | |
) | |
function Get-AuthHeader { | |
$encodedCreds = [System.Convert]::ToBase64String([System.Text.Encoding]::ASCII.GetBytes(":$($Token)")) | |
return "Basic $encodedCreds" |