import { MethodType } from "../enum/method-type.enum";
import { HeaderType } from "../enum/header-type.enum";

const prefix = "/oauth";
const oauthApi = {
  authorize: {
    url: prefix + "/authorize",
    method: MethodType.POST.code,
    header: HeaderType.BASE.code,
  },
  token: {
    url: prefix + "/token",
    method: MethodType.POST.code,
    header: HeaderType.BASE.code,
  },
  ssoLogout: {
    url: prefix + "/sso-logout",
    method: MethodType.GET.code,
    header: HeaderType.BASE.code,
  },
};

export default oauthApi;
