rename Get-MatrixLoginToken to New-MatrixAccessToken

This commit is contained in:
James 2022-03-12 22:27:27 +00:00
parent 935610e6ae
commit e648d011f5
2 changed files with 2 additions and 2 deletions

View File

@ -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.
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.

View File

@ -16,7 +16,7 @@
$creds = Get-Credential
$token = Get-LoginToken -ServerUrl "https://matrix.example.com" -Credentials $creds
#>
function Get-MatrixLoginToken {
function New-MatrixAccessToken {
param(
[Parameter(Mandatory)]
[string]$ServerUrl,