# This file is part of Indico.
# Copyright (C) 2002 - 2026 CERN
#
# Indico is free software; you can redistribute it and/or
# modify it under the terms of the MIT License; see the
# LICENSE file for more details.

from indico.modules.admin.views import WPAdmin
from indico.modules.users.views import WPUser
from indico.web.views import WPJinjaMixin


class WPOAuthJinjaMixin(WPJinjaMixin):
    template_prefix = 'oauth/'


class WPOAuthAdmin(WPOAuthJinjaMixin, WPAdmin):
    sidemenu_option = 'applications'


class WPOAuthUserProfile(WPOAuthJinjaMixin, WPUser):
    pass
