class Doorkeeper::OAuth::ClientCredentialsRequest
def access_token
def access_token issuer.token end
def initialize(server, client, parameters = {})
def initialize(server, client, parameters = {}) @client = client @server = server @response = nil @original_scopes = parameters[:scope] end
def issuer
def issuer @issuer ||= ClientCredentials::Issuer.new( server, ClientCredentials::Validator.new(server, self), ) end
def valid?
def valid? issuer.create(client, scopes) end