Overview

Namespaces

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

Classes

  • Auth
  • Overview
  • Namespace
  • Class

Class Auth

Core\BaseClasses\BaseAuth
Extended by Core\Middleware\Auth\Auth
Namespace: Core\Middleware\Auth
Located at Auth.php
Methods summary
public static Core\Middleware\Auth\Auth
# Key( )

Used to define that a key based authentication is being used.

Used to define that a key based authentication is being used.

Returns

Core\Middleware\Auth\Auth
public static Core\Middleware\Auth\Auth
# Checksum( )
  • Used to define that a checksum based authentication is being used.
  • Used to define that a checksum based authentication is being used.

Returns

Core\Middleware\Auth\Auth
public static Core\Middleware\Auth\Auth
# Credentials( $userName, $password )
  • Used to define that a username/password based authentication is being used.
  • Used to define that a username/password based authentication is being used.

Parameters

$userName
$password

Returns

Core\Middleware\Auth\Auth
public boolean
# Authorize( $authType, null $redirectTo = null )

Authorize a user to access a particular resource

Authorize a user to access a particular resource

Parameters

$authType
$redirectTo

Returns

boolean
public boolean|mixed
# Authenticate( )

Authenticate a user and return its details

Authenticate a user and return its details

Returns

boolean|mixed
Methods inherited from Core\BaseClasses\BaseAuth
getAuthKey(), getChecksum(), hasAuthKey(), hasChecksum(), headers(), keyHasAssociatedID(), matchCredentials(), matchSessionData()
API documentation generated by ApiGen