psf
psf
includes
auth
tokenauth.php
1
<?php
2
3
// Part of php simple framework (psf)
4
5
// This program is free software: you can redistribute it and/or modify
6
// it under the terms of the GNU General Public License as published by
7
// the Free Software Foundation, either version 3 of the License, or
8
// (at your option) any later version.
9
10
// This program is distributed in the hope that it will be useful,
11
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
// GNU General Public License for more details.
14
15
// Copyright (c) Petr Bena <petr@bena.rocks> 2015 - 2019
16
17
if
(!defined(
"PSF_ENTRY_POINT"
))
18
die(
"Not a valid psf entry point"
);
19
20
require_once (dirname(__FILE__) .
"/authbase.php"
);
21
22
class
PsfTokenAuth
extends
PsfAuthBase
23
{
24
public
$Tokens = array();
25
26
public
function
GetID()
27
{
28
return
"TokenAuth"
;
29
}
30
31
public
function
IsPrivileged($privilege)
32
{
33
return
false
;
34
}
35
36
public
function
IsAuthenticated()
37
{
38
return
false
;
39
}
40
}
PsfTokenAuth
Definition:
tokenauth.php:22
PsfAuthBase
Definition:
authbase.php:22
Generated on Fri Aug 9 2019 14:18:54 for psf by
1.8.13