Clear GitHubAuthentication - X-Guardian/PowerShellForGitHub GitHub Wiki
Clears out any GitHub API token from memory, as well as from local file storage.
Clear-GitHubAuthentication [-SessionOnly] [-WhatIf] [-Confirm] [<CommonParameters>]
Clears out any GitHub API token from memory, as well as from local file storage.
The Git repo for this module can be found here: http://aka.ms/PowerShellForGitHub
Clear-GitHubAuthentication
Clears out any GitHub API token from memory, as well as from local file storage.
By default, this will clear out the cache in memory, as well as in the local configuration file. If this switch is specified, authentication will be cleared out in this session only -- the local configuration file cache will remain (and thus still be available in a new PowerShell session).
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Prompts you for confirmation before running the cmdlet.
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
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 command will not clear your configuration settings. Please use Reset-GitHubConfiguration to accomplish that.