mirror of
https://github.com/Thumbscrew/PSMatrix.git
synced 2024-11-09 23:53:51 +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)
|
|
}
|
|
} |