Class: Spree::OauthAccessToken
- Inherits:
-
Object
- Object
- Spree::OauthAccessToken
- Includes:
- Doorkeeper::Orm::ActiveRecord::Mixins::AccessToken
- Defined in:
- app/models/spree/oauth_access_token.rb
Overview
The credential a client sends. Its resource owner is a real user, so a call carries that person's own permissions resolved fresh on every request — narrowing a role or deleting the user takes effect immediately, without touching the token. This is what an API key cannot do: a key is a standing grant with nobody behind it.