예제 #1
0
def token_auth_error(status):
    return reponse_erreur_json(status)
예제 #2
0
def token_auth_error(code):
    return reponse_erreur_json(code)
예제 #3
0
def basic_auth_error(status):
    return reponse_erreur_json(status, "Erreur authentification")
예제 #4
0
def basic_auth_error(code):
    return reponse_erreur_json(code, 'Erreur Auth')