Lewin Bormann
6b5426ff59
Merge pull request #41 from dermesser/example-crate-fixes
...
fix(example): Use crates.io version of google-pubsub1 for examples
2016-09-28 22:12:03 +02:00
Lewin Bormann
80b21bdddb
fix(example): Use crates.io version of google-pubsub1 for examples
...
This was a local change that leaked into a commit.
2016-09-28 22:10:49 +02:00
Lewin Bormann
cdc5fc4c34
Merge pull request #37 from dermesser/use-base64
...
fix(service_account): Use correct base64 encoding
2016-09-28 21:52:11 +02:00
Lewin Bormann
b143033ad1
fix(service_account): Use correct base64 encoding
2016-09-28 21:45:10 +02:00
Lewin Bormann
8aa31e48ca
Merge pull request #36 from dermesser/use-base64
...
fix(deps): Use small base64 crate instead of rustc-serialize
2016-09-28 20:12:58 +02:00
Lewin Bormann
a4d60e754b
fix(deps): Use small base64 crate instead of rustc-serialize
2016-09-28 20:10:53 +02:00
Lewin Bormann
8d9c42c449
Merge pull request #34 from dermesser/service-account-example
...
Add service account example
2016-09-25 20:23:08 +02:00
Lewin Bormann
bb6ce78b38
fix(review comments): Implement @Byron's suggestions on #34
2016-09-25 20:20:23 +02:00
Sebastian Thiel
5787f61ea9
fix(travis): no need to build separately
...
It's essentially done by `travis-cargo test`.
2016-09-25 18:55:42 +02:00
Sebastian Thiel
c6bef14b87
fix(README): fix formatting
2016-09-25 18:26:41 +02:00
Lewin Bormann
317e6364a5
docs(README): Add short information about supported flows
2016-09-25 18:19:57 +02:00
Sebastian Thiel
0c1a7e7c14
Merge pull request #30 from dermesser/drive-example
...
feat(example): Implement a simple installed-flow example
2016-09-25 18:15:05 +02:00
Sebastian Thiel
216e0e51ea
Merge pull request #29 from dermesser/service-account-pr
...
feat(flow): implement the service account "flow"
2016-09-25 17:58:34 +02:00
Lewin Bormann
1ceaf6044e
fix(deps): Remove unnecessary dependencies in drive_example
2016-09-22 10:37:03 +02:00
Lewin Bormann
3cf00eb1cf
docs(crate): Add a short snippet about service account auth.
2016-09-21 22:50:23 +02:00
Lewin Bormann
e1eeeefeff
feat(examples): Add example for installed-interactive flow.
...
This PR also depends on the version bump to 0.6.4.
2016-09-21 22:44:13 +02:00
Lewin Bormann
4ba43532aa
feat(examples): Add example for service accounts + Cloud Pubsub
...
Please note that I specified version 0.9.4 in the example crate
(anticipating the version bump)
2016-09-21 22:10:19 +02:00
Lewin Bormann
ed0a3c4990
fix(types::Token): Don't panic if refresh_token is empty
...
Service account tokens don't set the refresh_token. Checking the
access_token field should be sufficient.
2016-09-21 09:24:09 +02:00
Lewin Bormann
943f57e42f
fix(service_account): Remove debug println from code
...
whoops :)
2016-09-21 09:03:51 +02:00
Lewin Bormann
624a202464
docs(helpers): Let service account and helper code show up in rustdoc
2016-09-21 08:39:47 +02:00
Lewin Bormann
1c1880cfe7
feat(service_account): Implement token source for service accounts
...
Tested with unit tests and against Google OAuth.
2016-09-20 20:29:19 +02:00
Lewin Bormann
d151e75454
feat(helpers): Add service account key helper
2016-09-20 20:19:10 +02:00
Lewin Bormann
0506ffaa44
feat(helpers): Implement hash_scope() helper function
2016-09-20 20:19:00 +02:00
Lewin Bormann
2bdb47375a
feat(refactor): Move StringError from authenticator to types module
2016-09-20 20:18:45 +02:00
Sebastian Thiel
83bfbab114
chore(changelog): update
2016-09-11 09:45:37 +02:00
Sebastian Thiel
e1a5fc4924
chore(version-up): v0.6.3
2016-09-11 09:42:04 +02:00
Sebastian Thiel
efaadd5bac
chore(Cargo): upgrade serde to latest version
...
That way, nightly builds will work once again.
2016-09-11 09:40:49 +02:00
Sebastian Thiel
cd2b1d56a9
chore(Cargo): make @dermesser an author officially
...
Thanks for all your contributions, it's the least I can do
to make it a bit more official.
If you don't like this, please let me know.
2016-09-11 09:39:19 +02:00
Lewin Bormann
51e0b9d163
docs(installed): Mention the InstalledFlow in the documentation
2016-09-04 19:29:56 +02:00
Lewin Bormann
cb66737988
fix(test): Add missing import to authenticator tests
2016-09-04 19:20:59 +02:00
Lewin Bormann
a4532f27b4
fix(helper): Parse app secrets into right type
2016-08-31 20:46:10 +02:00
Lewin Bormann
c4231e9499
feat(helpers): Add helpers for reading/parsing JSON
...
This is boilerplate that can easily be provided to users of the library.
2016-08-31 20:07:33 +02:00
Lewin Bormann
85b12dd3e8
refactor(common): Rename common -> types
2016-08-31 20:01:24 +02:00
Lewin Bormann
9e59bf0496
refactor(all): More flows demand for a different structure
...
I mainly resolved some circular dependencies that had crept in, and
moved code around. I renamed helper.rs because that was not really an
appropriate name anymore, and moved the delegate code into a new module.
2016-08-31 19:48:38 +02:00
Sebastian Thiel
7a907eb318
fix(dependencies): use latest version of serde_codegen
...
In the way it's meant to be used, which means it uses it's
own version of syntex, to assure it doesn't clash anymore in
unforseen ways.
2016-07-17 11:36:21 +02:00
Sebastian Thiel
6cf706c54f
chore(travis): sudo should not be required
2016-07-03 15:11:15 +02:00
Sebastian Thiel
e0661f714c
doc(README): add coverage information
...
[skip ci]
2016-05-25 11:45:13 +02:00
Sebastian Thiel
9283db022d
fix(travis): actually it should already work this way
...
travis-cargo knows travis, and does the right thing.
We only want to be sure to run on one platform only.
2016-05-25 11:31:50 +02:00
Sebastian Thiel
d1189d98da
fix(travis): see all environment variables
2016-05-25 11:15:33 +02:00
Sebastian Thiel
30fc78cbf8
fix(travis): use actual feature matrix
2016-05-25 11:02:34 +02:00
Sebastian Thiel
361856ba5a
fix(travis): try again without env: matrix:
2016-05-25 10:59:31 +02:00
Sebastian Thiel
f404fcd7fa
fix(travis): env: matrix is required it seems
2016-05-25 10:42:42 +02:00
Sebastian Thiel
3fb8d0fec6
fix(travis): try without explicit inclusion
2016-05-25 10:38:05 +02:00
Sebastian Thiel
136b57524f
fix(travis): try without env: matrix
2016-05-25 10:36:04 +02:00
Sebastian Thiel
17c344c997
fix(travis): another attempt to get env-config right
2016-05-25 10:32:39 +02:00
Sebastian Thiel
0fc5d6939c
fix(travis): remove matrix code
...
Maybe this causes the hanging.
2016-05-25 10:22:34 +02:00
Sebastian Thiel
ceb013103a
chore(travis): possibly fix configuration
...
Based on the help provided by the travis support team,
this one might actually work.
However, while changing the file I realized that I didn't
provide all information they would need, so I merged their
solution into the existing one.
2016-05-25 08:50:21 +02:00
Sebastian Thiel
2fe535c9d6
chore(version-up): v0.6.1
2016-05-24 15:22:11 +02:00
Sebastian Thiel
57a3151d4d
fix(flows): save Token properly
...
The installed flow didn't explicitly set the retrieved token
absolute, which would cause failures down the road.
2016-05-20 18:24:28 +02:00
Sebastian Thiel
a9d0b06925
chore(version-up): v0.6.0
...
Comes with DiskStorage and new Flow !!!
2016-05-20 15:26:38 +02:00