# Path: tuskar/api/acl.py
# OPT_GROUP_NAME = 'keystone_authtoken'
# def register_opts(conf):
# def install(app, conf):
#     def before(self, state):
# class AdminAuthHook(hooks.PecanHook):
# 
# Path: tuskar/api/config.py

# 
# Path: tuskar/api/hooks.py
# class ConfigHook(hooks.PecanHook):
# class DBHook(hooks.PecanHook):
#     def before(self, state):
#     def before(self, state):
# 
# Path: tuskar/api/renderers.py
# class JSonRenderer(object):
#     def __init__(self, path, extra_vars):
#     def render(self, template_path, namespace):


from oslo.config import cfg
from tuskar.api import acl
from tuskar.api import config
from tuskar.api import hooks
from tuskar.api import renderers
import pecan

# Copyright © 2012 New Dream Network, LLC (DreamHost)
# All Rights Reserved.
#
#    Licensed under the Apache License, Version 2.0 (the "License"); you may
#    not use this file except in compliance with the License. You may obtain
#    a copy of the License at
#
#         http://www.apache.org/licenses/LICENSE-2.0
#
#    Unless required by applicable law or agreed to in writing, software
#    distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
#    WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
#    License for the specific language governing permissions and limitations
#    under the License.



auth_opts = [
    cfg.StrOpt('auth_strategy',
        default='noauth',
        help='Method to use for auth: noauth or keystone.'),
    ]

CONF = cfg.CONF
CONF.register_opts(auth_opts)


def get_pecan_config():
    # Set up the pecan configuration

# Path: tuskar/api/acl.py
# OPT_GROUP_NAME = 'keystone_authtoken'
# def register_opts(conf):
# def install(app, conf):
#     def before(self, state):
# class AdminAuthHook(hooks.PecanHook):
# 
# Path: tuskar/api/config.py

# 
# Path: tuskar/api/hooks.py
# class ConfigHook(hooks.PecanHook):
# class DBHook(hooks.PecanHook):
#     def before(self, state):
#     def before(self, state):
# 
# Path: tuskar/api/renderers.py
# class JSonRenderer(object):
#     def __init__(self, path, extra_vars):
#     def render(self, template_path, namespace):


# Path: tuskar/api/app.py
from oslo.config import cfg
from tuskar.api import acl
from tuskar.api import config
from tuskar.api import hooks
from tuskar.api import renderers
import pecan


# Copyright © 2012 New Dream Network, LLC (DreamHost)
# All Rights Reserved.
#
#    Licensed under the Apache License, Version 2.0 (the "License"); you may
#    not use this file except in compliance with the License. You may obtain
#    a copy of the License at
#
#         http://www.apache.org/licenses/LICENSE-2.0
#
#    Unless required by applicable law or agreed to in writing, software
#    distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
#    WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
#    License for the specific language governing permissions and limitations
#    under the License.



auth_opts = [
    cfg.StrOpt('auth_strategy',
        default='noauth',
        help='Method to use for auth: noauth or keystone.'),
    ]

CONF = cfg.CONF
CONF.register_opts(auth_opts)


def get_pecan_config():
    # Set up the pecan configuration

    filename = config.__file__.replace('.pyc', '.py')