Editorial Workflows

IndieAuth Deauthorize

public workflow

Install Workflow...

This workflow contains at least one Python script. Only use it if you trust the person who shared this with you, and if you know exactly what it does.

I understand, install the workflow!

This is a workflow for Editorial, a Markdown and plain text editor for iOS. To download it, you need to view this page on a device that has the app installed.

Description: Used to deauthorize and IndieAuth authorization done with the "IndieAuth" workflow.

Shared by: VoxPelli

Comments: Comment Feed (RSS)

There are no comments yet.

+ Add Comment

Workflow Preview
Show Alert ?
Title
Confirm deauthorization
Message
Do you really want to deauthorize your IndieAuth connection?
Button 1
Delete
Output Value
Input
Button 2
(don't show)
Output Value
Button 3
(don't show)
Output Value
Show Cancel Button
ON
Run Python Script ?
Source Code
#coding: utf-8
import workflow, keychain, console

keychain.delete_password('VoxPelli: IndieAuth Token', 'Personal IndieAuth Token')
console.hud_alert('IndieAuth token deleted', 'success', 1.0)