mirror of
https://github.com/Thumbscrew/PSMatrix.git
synced 2025-01-18 17:45:44 +00:00
rename Get-MatrixLoginToken to New-MatrixAccessToken
This commit is contained in:
parent
935610e6ae
commit
e648d011f5
@ -70,7 +70,7 @@ PowerShellVersion = '7.0'
|
|||||||
|
|
||||||
# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.
|
# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.
|
||||||
FunctionsToExport = @(
|
FunctionsToExport = @(
|
||||||
'Get-MatrixLoginToken'
|
'New-MatrixAccessToken'
|
||||||
)
|
)
|
||||||
|
|
||||||
# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
|
# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
$creds = Get-Credential
|
$creds = Get-Credential
|
||||||
$token = Get-LoginToken -ServerUrl "https://matrix.example.com" -Credentials $creds
|
$token = Get-LoginToken -ServerUrl "https://matrix.example.com" -Credentials $creds
|
||||||
#>
|
#>
|
||||||
function Get-MatrixLoginToken {
|
function New-MatrixAccessToken {
|
||||||
param(
|
param(
|
||||||
[Parameter(Mandatory)]
|
[Parameter(Mandatory)]
|
||||||
[string]$ServerUrl,
|
[string]$ServerUrl,
|
Loading…
Reference in New Issue
Block a user