class Doorkeeper::OAuth::ClientCredentials::Issuer
def create(client, scopes, attributes = {}, creator = Creator.new)
def create(client, scopes, attributes = {}, creator = Creator.new) if validator.valid? @token = create_token(client, scopes, attributes, creator) @error = Errors::ServerError unless @token else @token = false @error = validator.error end @token end