Get an authentication token for the WattTime API
Get-WattTimeAuthToken [-Username] <String> [-Password] <String> [<CommonParameters>]
Get an authentication token for the WattTime API with a specified username and password
Get-WattTimeAuthToken -Username 'username' -Password 'password'
The username to use for authentication
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The password to use for authentication
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
This token should be used by the -AuthToken parameter of the other functions in this module
https://github.com/cloudyspells/PSWattTime/blob/main/docs/Get-WattTimeAuthToken.md
https://www.watttime.org/api-documentation/#login-amp-obtain-token