Overview

Namespaces

  • Core
    • BaseClasses
    • Cookie
    • Crontab
    • DB
    • Input
    • Mailer
    • Middleware
      • Auth
      • CSRF
    • Route
    • Session
    • System
  • None

Classes

  • BaseAuth
  • BaseController
  • BaseCSRF
  • Overview
  • Namespace
  • Class

Class BaseAuth

Direct known subclasses

Core\Middleware\Auth\Auth
Namespace: Core\BaseClasses
Located at BaseAuth.php
Methods summary
protected Core\BaseClasses\BaseAuth
# headers( )

Sets headers in Base Auth object

Sets headers in Base Auth object

Returns

Core\BaseClasses\BaseAuth
Object
protected boolean
# hasAuthKey( )

Checks if Auth key exists in the request headers

Checks if Auth key exists in the request headers

Returns

boolean
protected mixed
# getAuthKey( )

Returns the auth key

Returns the auth key

Returns

mixed
protected boolean
# keyHasAssociatedID( $key )

Checks if the API Keys in the request has any associated users with it in DB

Checks if the API Keys in the request has any associated users with it in DB

Parameters

$key

Returns

boolean
protected boolean
# hasChecksum( )

Checks whether the request has a checksum in headers

Checks whether the request has a checksum in headers

Returns

boolean
protected mixed
# getChecksum( )

Returns checksum

Returns checksum

Returns

mixed
protected boolean
# matchCredentials( $userName, $password )

Matches the supplied user name and password with the DB Credentials

Matches the supplied user name and password with the DB Credentials

Parameters

$userName
$password

Returns

boolean
| mixed user Data
protected boolean
# matchSessionData( $uid, $uname )

Checks if the data in session matches the user data

Checks if the data in session matches the user data

Parameters

$uid
$uname

Returns

boolean
| mixed
API documentation generated by ApiGen