auth

Paddy 2015-02-20 Parent:2e4b5722eed0 Child:8267e1c8bcd1

134:d103a598548c Go to Latest

auth/authd/server.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