auth

Paddy 2015-02-20 Parent:e000b1c24fc0 Child:8ecb60d29b0d

134:d103a598548c Go to Latest

auth/request_test.go

Introduced scopes. Created a Scope type and a scopeStore interface, along with the memstore methods for the scopeStore. This will allow applications to define access with granularity, so users can grant access to some data, not _all_ data. We're operating on the assumption that there won't be an unreasonable number of scopes defined, so there is no paging operation included for the ListScopes method. This is a decision that may have to be revisited in the future, depending on usecases.

History