mirror of
https://github.com/Thumbscrew/PSMatrix.git
synced 2024-11-14 01:50:04 +00:00
10 lines
227 B
PowerShell
10 lines
227 B
PowerShell
|
function Get-MatrixAuthHeaders {
|
||
|
param(
|
||
|
[Parameter(Mandatory)]
|
||
|
[SecureString]$AccessToken
|
||
|
)
|
||
|
|
||
|
return @{
|
||
|
Authorization="Bearer " + ($AccessToken | ConvertFrom-SecureString -AsPlainText)
|
||
|
}
|
||
|
}
|