Sha256: d467f9ea9c8f473764d6fec93440128a8a333bdd08dac525d70f174f23c68503
Contents?: true
Size: 479 Bytes
Versions: 41
Compression:
Stored size: 479 Bytes
Contents
module Doorkeeper module Request class ClientCredentials def self.build(server) new(server.client, server) end attr_accessor :client, :server def initialize(client, server) @client, @server = client, server end def request @request ||= OAuth::ClientCredentialsRequest.new(Doorkeeper.configuration, client, server.parameters) end def authorize request.authorize end end end end
Version data entries
41 entries across 41 versions & 1 rubygems