I hereby claim:
- I am smholloway on github.
- I am sethholloway (https://keybase.io/sethholloway) on keybase.
- I have a public key whose fingerprint is 3613 037C 0F80 E273 62F9 4E31 856E 6BAB B0CB A24D
To claim this, I am signing this object:
| using Toopher; | |
| // Create an API object using your credentials | |
| ToopherApi api = new ToopherApi("<your consumer key>", "<your consumer secret>"); | |
| // Authenticate a log in | |
| AuthenticationStatus auth = api.Authenticate(pairing.id, "my computer"); | |
| // Once they've responded you can then check the status | |
| AuthenticationStatus status = api.GetAuthenticationStatus(auth.id); |
| import com.toopher.*; | |
| // Create an API object using your credentials | |
| ToopherApi api = new ToopherApi("<your consumer key>", "<your consumer secret>"); | |
| // Step 1 - Pair with their phone's Toopher app | |
| PairingStatus pairing = api.pair("pairing phrase", "[email protected]"); |
| import com.toopher.*; | |
| // Create an API object using your credentials | |
| ToopherApi api = new ToopherApi("<your consumer key>", "<your consumer secret>"); | |
| // Step 2 - Authenticate a log in | |
| AuthenticationStatus auth = api.authenticate(pairing.id, "my computer"); | |
| // Once they've responded you can then check the status | |
| AuthenticationStatus status = api.getAuthenticationStatus(auth.id); |
| import toopher | |
| # Create an API object using your credentials | |
| api = toopher.ToopherApi("<your consumer="" key="">", "<your consumer="" secret="">") | |
| # Authenticate a log in | |
| auth = api.authenticate(pairing_status.id, "my computer") | |
| # Once they've responded you can then check the status | |
| auth_status = api.get_authentication_status(auth.id) |
| import toopher | |
| # Create an API object using your credentials | |
| api = toopher.ToopherApi("<your consumer key>", "<your consumer secret>") | |
| # Step 1 - Pair with their phone's Toopher app | |
| pairing_status = api.pair("pairing phrase", "[email protected]") |
| { | |
| "authenticator": { | |
| "consumer": { | |
| "key": "key" | |
| }, | |
| "created": "2015-01-01 10:10:10", | |
| "id": "12345678-1234-4123-8123-123456789abc", | |
| "modified": "2015-01-01 10:10:10", | |
| "name": "authenticator" | |
| }, |
| { | |
| "authenticator": { | |
| "consumer": { | |
| "key": "key" | |
| }, | |
| "created": "2015-01-01 10:10:10", | |
| "id": "12345678-1234-4123-8123-123456789abc", | |
| "modified": "2015-01-01 10:10:10", | |
| "name": "authenticator" | |
| }, |
| # Built from https://gist.github.com/markpundsack/4506402 | |
| `heroku list`.split("\n").each do |app| | |
| app = app.strip | |
| # Some "heroku apps" lines have === formatting for grouping. They're not apps. | |
| next if app[0..2] == "===" | |
| # Some are appended by owner emails | |
| app = app.split(" ")[0].to_s.strip |
I hereby claim:
To claim this, I am signing this object:
| ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC9dyHjrrdDHBMNIUe+4HFDcVvR3FYLPCNjXmEDjGb28P4lQgRVKj5x29ao3BonE9PkPLz7KxULDIMQI7yg263SlbP1lXIuXsbHu+nEd9QZBlOwPTffWZHz547DqnOinFmxfZ/TJZhGNGqEd8DPm8uLP95Udn4XtEnrWRw/jxCdzROUA9JxqSNNyXp8OYH0L36tlHzWqHMLXh5H1dlcDsXQsO6xFA2sN0VQDHEo06z3YeOR8YmjLW3KK7D9ZkVis7+KcvfNAIJEq+QFLyCoUnyMuTOZ1tvDcAu23+Y7pUrqakUWlIYUlXNUmYI8A78SGQpBVKoIeFsStDwutDB+QXM3 |