Sha256: e6d713e11c7fc1548abb7700ac7d9a3272b5f688fba9612b52676685d01a3e7f
Contents?: true
Size: 309 Bytes
Versions: 20
Compression:
Stored size: 309 Bytes
Contents
module Doorkeeper module OAuth class ClientCredentialsRequest class Creator def call(client, scopes, attributes = {}) AccessToken.create(attributes.merge( application_id: client.id, scopes: scopes.to_s )) end end end end end
Version data entries
20 entries across 20 versions & 1 rubygems