Method: Rack::OAuth2::Server::AccessToken.collection

Defined in:
lib/rack/oauth2/models/access_token.rb

.collectionObject



92
93
94
95
# File 'lib/rack/oauth2/models/access_token.rb', line 92

def collection
  prefix = Server.options[:collection_prefix]
  Server.database["#{prefix}.access_tokens"]
end