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