< Back
Revoke-GDriveToken
Post
NAME Revoke-GDriveToken
SYNOPSIS
Revoke Access or Refresh Token
SYNTAX
Revoke-GDriveToken [-Token] <String> [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Revoke Access or Refresh Token
If Revoke Refresh Token, Access Token also revoked
PARAMETERS
-Token <String>
Token to Revoke
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
None
NOTES
Author: Max Kozlov
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Revoke-GDriveToken -Token $access_token
RELATED LINKS
Request-GDriveAccessToken
Request-GDriveRefreshToken
https://developers.google.com/identity/ ... stalledApp
SYNOPSIS
Revoke Access or Refresh Token
SYNTAX
Revoke-GDriveToken [-Token] <String> [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Revoke Access or Refresh Token
If Revoke Refresh Token, Access Token also revoked
PARAMETERS
-Token <String>
Token to Revoke
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
None
NOTES
Author: Max Kozlov
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Revoke-GDriveToken -Token $access_token
RELATED LINKS
Request-GDriveAccessToken
Request-GDriveRefreshToken
https://developers.google.com/identity/ ... stalledApp