aboutsummaryrefslogtreecommitdiff
path: root/src/dummy_auth/oauth2/token.clj
blob: fd5a534f9c8c3c90031c15495977601ed1b5c71c (plain)
1
2
3
4
5
6
7
8
9
(ns dummy-auth.oauth2.token
  (:require [ring.util.response :as ruresp]))

(defn handle [_req]
  (println "oauth2/token: responding...")
  (ruresp/response {"access_token"  "abc"
                    "refresh_token" "abc"
                    "token_type"    "Bearer"
                    "expires"       0}))