Skip to content

Commit

Permalink
fixed password, added scope
Browse files Browse the repository at this point in the history
  • Loading branch information
nichtich committed Nov 8, 2012
2 parents 47595cd + 6856fdf commit f253430
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions paia.md
Expand Up @@ -467,13 +467,14 @@ URL
: https://example.org/auth/**login**
request parameters
: name occ data type
------------ ------ ----------- -------------------------------
------------ ------ ----------- --------------------------------
username 1..1 string User name of a patron
password 0..n Password of a patron
password 1..1 string Password of a patron
grant_type 1..1 string Fixed value set to "password"
------------ ------ ----------- -------------------------------
scope 0..1 string Comma-separated list of scopes
------------ ------ ----------- --------------------------------

A `scope` parameter, as defined by OAuth 2.0 may be added in a future release
The `scope` parameter, as defined by OAuth 2.0, is reserved for future releases
of this specification to provide access tokens with different access rights
(for instance read-only access).

Expand All @@ -486,6 +487,7 @@ response fields
patron 1..1 string Patron identifier
access_token 1..1 string The access token issued by the PAIA auth server
token_type 1..1 string Fixed value set to "Bearer"
scope 0..1 string Comma-separated list of granted scopes
expires_in 0..1 nonnegative integer The lifetime in seconds of the access token
-------------- ------ --------------------- -------------------------------------------------

Expand Down

0 comments on commit f253430

Please sign in to comment.