auth

Paddy 2015-03-03 Parent:385ac6294cdc

135:d30a3a12d387 Go to Latest

auth/.hgtags

Attach our Scope type to AuthCodes and Tokens. When obtaining an AuthorizationCode or Token, attach a slice of strings, each one a Scope ID, instead of just attaching the encoded string the user passes in. This will allow us to change our Scope encoding down the line, and is more conceptually faithful. Also, if an authorization request is made with an invalid scope, return the invalid_scope error.

History
paddy@114 1 e0b3064daf02b3061d7666262518e8164315c149 rewrite_begins