<commit_before><?php

namespace app\auth\libs;

use infuse\Database;
use infuse\Model;
use infuse\Util;
use infuse\Validate;

use App;
use app\auth\models\PersistentSession;
use app\auth\models\UserLink;
use app\auth\models\UserLoginHistory;

if( !defined( 'GUEST' ) )
	define( 'GUEST', -1 );
if( !defined( 'SUPER_USER' ) )
	define( 'SUPER_USER', -2 );
if( !defined( 'LOGIN_TYPE_TRADITIONAL' ) )
	define( 'LOGIN_TYPE_TRADITIONAL', 0 );
if( !defined( 'LOGIN_TYPE_PERSISTENT_SESSION' ) )
	define( 'LOGIN_TYPE_PERSISTENT_SESSION', 1 );

class Auth
{<commit_msg>add user link constants to auth class<commit_after><?php

namespace app\auth\libs;

use infuse\Database;
use infuse\Model;
use infuse\Util;
use infuse\Validate;

use App;
use app\auth\models\PersistentSession;
use app\auth\models\UserLink;
use app\auth\models\UserLoginHistory;

if( !defined( 'GUEST' ) )
	define( 'GUEST', -1 );
if( !defined( 'SUPER_USER' ) )
	define( 'SUPER_USER', -2 );
if( !defined( 'LOGIN_TYPE_TRADITIONAL' ) )
	define( 'LOGIN_TYPE_TRADITIONAL', 0 );
if( !defined( 'LOGIN_TYPE_PERSISTENT_SESSION' ) )
	define( 'LOGIN_TYPE_PERSISTENT_SESSION', 1 );
if( !defined( 'USER_LINK_FORGOT_PASSWORD' ) )
	define( 'USER_LINK_FORGOT_PASSWORD', 0 );
if( !defined( 'USER_LINK_VERIFY_EMAIL' ) )
	define( 'USER_LINK_VERIFY_EMAIL', 1 );
if( !defined( 'USER_LINK_TEMPORARY' ) )
	define( 'USER_LINK_TEMPORARY', 2 );

class Auth
{
{'fraction_non_alphanumeric': 0.1490280777537797, 'fraction_numerical': 0.007919366450683946, 'mean_word_length': 5.847290640394089, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4980999', 'n_tokens_mistral': 562, 'n_tokens_neox': 560, 'n_words': 114}