Skip to content

Commit

Permalink
fix(scope): scopes are sorted Strings now
Browse files Browse the repository at this point in the history
That way, we make retrieved tokens independent of the order scopes
were passed in. Additionally, we can pass any scopes, just in case
someone uses one token for multiple APIs.
Let's keep it flexible.
  • Loading branch information
Byron committed Mar 10, 2015
1 parent 28878e0 commit 6d2b0fc
Show file tree
Hide file tree
Showing 5 changed files with 518 additions and 282 deletions.
5 changes: 5 additions & 0 deletions etc/api/shared.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ api:
action: doit
# when a resource is supposed to be uploaded
upload_action: upload
properties:
# additional fields specified by the user
params: '_additional_params'
# custom scopes for authentication
scopes: '_scopes'
templates:
# all output directories are relative to the one set for the respective API
- source: README.md
Expand Down
Loading

0 comments on commit 6d2b0fc

Please sign in to comment.