# -*- coding: utf-8 -*-
"""
This file is covered by the LICENSING file in the root of this project.
"""


class HTTP_HEADER:
    """Http header that hackathon server api requires

    Attributes:
        Authorization: "token SOME TOKEN" for current login user to access the hackathon server APIs with @token_required
        HACKATHON_NAME: the name of hackathon related to the API call
        TOKEN: obsolete, legacy header
    """
    TOKEN = "token"
    AUTHORIZATION = "Authorization"
    HACKATHON_NAME = "hackathon_name"


class OAUTH_PROVIDER:
    """Social Login that open-hackathon platform support"""
    GITHUB = "github"
    QQ = "qq"
    WECHAT = "wechat"
    WEIBO = "weibo"
    LIVE = "live"


class HEALTH_STATUS:
    """The running state of open-hackathon server

    Attributes:
        OK: open-hackathon server API is running