func revokeUserCredentials(ctx context.Context, pachdAddress string, userToken string, adminToken string) error {
	// Setup a single use client w the given admin token / address
	client, err := pclient.NewFromAddress(pachdAddress)
	if err != nil {
		return err
	}
	defer client.Close() // avoid leaking connections

	client = client.WithCtx(ctx)
	client.SetAuthToken(adminToken)
	_, err = client.AuthAPIClient.RevokeAuthToken(client.Ctx(), &auth.RevokeAuthTokenRequest{
		Token: userToken,
	})
	return err
}
func revokeUserCredentials(ctx context.Context, pachdAddress string, userToken string, adminToken string) error {
	
	client, err := pclient.NewFromAddress(pachdAddress)
	if err != nil {
		return err
	}
	defer client.Close() 

	client = client.WithCtx(ctx)
	client.SetAuthToken(adminToken)
	_, err = client.AuthAPIClient.RevokeAuthToken(client.Ctx(), &auth.RevokeAuthTokenRequest{
		Token: userToken,
	})
	return err
}
func revokeUserCredentials ( ctx context . Context , pachdAddress string , userToken string , adminToken string ) error { // Setup a single use client w the given admin token / address client , err := pclient . NewFromAddress ( pachdAddress ) if err != nil { return err } defer client . Close ( ) // avoid leaking connections client = client . WithCtx ( ctx ) client . SetAuthToken ( adminToken ) _ , err = client . AuthAPIClient . RevokeAuthToken ( client . Ctx ( ) , & auth . RevokeAuthTokenRequest { Token : userToken , } ) return err }
// revokeUserCredentials revokes the Pachyderm authentication token 'userToken'
// using the vault plugin's Admin credentials.
revokeUserCredentials revokes the Pachyderm authentication token userToken using the vault plugin s Admin credentials .