< Back
Update-BitbucketToken
Post
NAME Update-BitbucketToken
SYNOPSIS
Obtains an Access Token using a Refresh Token.
SYNTAX
Update-BitbucketToken [[-RefreshToken] <String>] [[-Credential] <PSCredential>] [[-Human] <Boolean>]
[<CommonParameters>]
DESCRIPTION
Uses the 'refresh_token' Grant OAuth2 flow to acquire a new Access Token for the specified consumer.
PARAMETERS
-RefreshToken <String>
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Credential <PSCredential>
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Human <Boolean>
Required? false
Position? 3
Default value False
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
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Update-BitbucketToken -RefreshToken $Token
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Update-BitbucketToken -RefreshToken $Token -Credential $ConsumerCreds
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Update-BitbucketToken -RefreshToken $Token -Human $true
RELATED LINKS
SYNOPSIS
Obtains an Access Token using a Refresh Token.
SYNTAX
Update-BitbucketToken [[-RefreshToken] <String>] [[-Credential] <PSCredential>] [[-Human] <Boolean>]
[<CommonParameters>]
DESCRIPTION
Uses the 'refresh_token' Grant OAuth2 flow to acquire a new Access Token for the specified consumer.
PARAMETERS
-RefreshToken <String>
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Credential <PSCredential>
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Human <Boolean>
Required? false
Position? 3
Default value False
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
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Update-BitbucketToken -RefreshToken $Token
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Update-BitbucketToken -RefreshToken $Token -Credential $ConsumerCreds
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Update-BitbucketToken -RefreshToken $Token -Human $true
RELATED LINKS