API-Manager/apimanager/obp/authenticator.py
Sebastian Henschel 2358d8eed6 Ported obp app from API Tester #31
Also enables possibility to use DirectLogin and GatewayLogin
2017-10-24 13:19:33 +02:00

21 lines
380 B
Python

# -*- coding: utf-8 -*-
"""
Base authenticator for OBP app
"""
import hashlib
from django.contrib import messages
from django.contrib.auth import login
from django.contrib.auth.models import User
class AuthenticatorError(Exception):
"""Exception class for Authenticator errors"""
pass
class Authenticator(object):
"""Generic authenticator to the API"""
pass