-
Docs
Backend
-
Behaviors
-
Classes
-
Controllers
-
Database
-
Seeds
-
-
Facades
-
FormWidgets
-
Helpers
-
Exception
- Backend
-
-
Models
-
ReportWidgets
-
Skins
-
Traits
-
Widgets
- ServiceProvider
-
-
Cms
-
Classes
- Asset
- AutoDatasource
- CmsCompoundObject
- CmsController
- CmsException
- CmsObject
- CmsObjectCollection
- CodeBase
- CodeParser
- ComponentBase
- ComponentHelpers
- ComponentManager
- ComponentPartial
- Content
- Controller
- Layout
- LayoutCode
- MediaLibrary
- MediaLibraryItem
- MediaViewHelper
- Meta
- ObjectMemoryCache
- Page
- PageCode
- Partial
- PartialCode
- PartialStack
- Router
- Theme
- ThemeManager
-
Components
-
Contracts
-
Controllers
-
Facades
-
FormWidgets
-
Helpers
-
Models
-
ReportWidgets
-
Traits
-
Twig
- ComponentNode
- ComponentTokenParser
- ContentNode
- ContentTokenParser
- DebugExtension
- DefaultNode
- DefaultTokenParser
- Extension
- FlashNode
- FlashTokenParser
- FrameworkNode
- FrameworkTokenParser
- Loader
- PageNode
- PageTokenParser
- PartialNode
- PartialTokenParser
- PlaceholderNode
- PlaceholderTokenParser
- PutNode
- PutTokenParser
- ScriptsNode
- ScriptsTokenParser
- StylesNode
- StylesTokenParser
-
Widgets
- ServiceProvider
-
-
System
-
Behaviors
-
Classes
-
Console
-
Controllers
-
Database
-
Helpers
-
Models
-
ReportWidgets
-
Traits
-
Twig
- ServiceProvider
-
-
Events
-
backend
-
ajax
-
filter
-
form
-
list
-
menu
-
page
-
user
-
-
cms
-
ajax
-
block
-
combiner
-
component
-
object
-
page
-
router
-
template
-
theme
-
-
halcyon
-
datasource
-
-
mailer
-
media
-
model
-
system
-
assets
-
console
-
mirror
-
theme
-
-
reportwidgets
-
settings
- extendConfigFile
-
-
translator
-
-
Library
-
Argon
-
Auth
-
Models
- AuthException
- Manager
-
-
Config
-
Cookie
-
Middleware
-
-
Database
-
Attach
-
Behaviors
-
Concerns
-
Connections
-
Connectors
-
Models
-
Relations
-
Schema
-
Traits
-
Updates
- README
- Builder
- Collection
- DatabaseServiceProvider
- DataFeed
- Dongle
- MemoryCache
- Model
- ModelBehavior
- ModelException
- NestedTreeScope
- Pivot
- QueryBuilder
- SortableScope
- TreeCollection
- Updater
-
-
Events
-
Exception
-
Extension
-
Filesystem
-
Flash
-
Foundation
-
Bootstrap
-
Console
-
Exception
-
Http
-
Middleware
- Kernel
-
-
Providers
- Application
- Maker
-
-
Halcyon
-
Datasource
-
Exception
-
Processors
-
Traits
- README
- Builder
- Collection
- HalcyonServiceProvider
- MemoryCacheManager
- MemoryRepository
- Model
-
-
Html
-
Mail
-
Network
-
Parse
-
Router
-
Scaffold
-
Support
-
Translation
-
- Documentation
- API
- Library
- Auth
- AuthException
October\Rain\Auth\AuthException
Source: ~/vendor/october/rain/src/Auth/AuthException.php
Extends:
Implements:
- Throwable
Used when user authentication fails. Implements a softer error message.
Public properties
There are no public properties in the class.
Show inherited public properties
Inherited public properties
- public string $hint - defined in October\Rain\Exception\ExceptionBase. Hint Message to help the user with troubleshooting the error (optional).
Protected properties
protected boolean $softErrors
Use less specific error messages.
protected string $errorMessage
Default soft error message.
Show inherited protected properties
Inherited protected properties
- protected Exception $mask - defined in October\Rain\Exception\ExceptionBase. If this exception is acting as a mask, this property stores the face exception.
- protected array $fileContent - defined in October\Rain\Exception\ExceptionBase. File content relating to the exception, each value of the array is a file line number.
- protected string $className - defined in October\Rain\Exception\ExceptionBase. Class name of the called Exception.
- protected string $errorType - defined in October\Rain\Exception\ExceptionBase. Error type derived from the error code.
- protected stdObject $highlight - defined in October\Rain\Exception\ExceptionBase. Cached code information for highlighting code.
- protected $message - defined in Exception.
- protected $code - defined in Exception.
- protected $file - defined in Exception.
- protected $line - defined in Exception.
Public methods
public void __construct(string $message='', int $code=0, Exception $previous=NULL)
Softens a detailed authentication error with a more vague message when the application is not in debug mode. This is for security reasons.
Parameters
- string $message - Error message.
- int $code - Error code.
- Exception $previous - Previous exception.
Inherited public methods
- public void __toString() - defined in Exception.
- public void __wakeup() - defined in Exception.
- public void applyMask(Exception $exception) - defined in October\Rain\Exception\ExceptionBase. This method is used when applying the mask exception to the face exception.
- public Array getCallStack() - defined in October\Rain\Exception\ExceptionBase. Returns the call stack as an array of values containing a stack information object.
- public string getClassName() - defined in October\Rain\Exception\ExceptionBase. Returns the class name of the called Exception.
- public void getCode() - defined in Exception.
- public string getErrorType() - defined in October\Rain\Exception\ExceptionBase. Returns the error type derived from the error code used.
- public void getFile() - defined in Exception.
- public array getHighlight() - defined in October\Rain\Exception\ExceptionBase. Generates information used for highlighting the area of code in context of the exception line number.
- public array getHighlightLines() - defined in October\Rain\Exception\ExceptionBase. Returns an array of line numbers used for highlighting the problem area of code.
- public void getLine() - defined in Exception.
- public void getMessage() - defined in Exception.
- public void getPrevious() - defined in Exception.
- public void getTrace() - defined in Exception.
- public void getTraceAsString() - defined in Exception.
- public Exception getTrueException() - defined in October\Rain\Exception\ExceptionBase. If this exception is acting as a mask, return the face exception. Otherwise return.
- public static void mask(string $message=NULL, int $code=0) - defined in October\Rain\Exception\ExceptionBase. Masks an exception with the called class. This should catch fatal and php errors.
- public void setMask(Exception $exception) - defined in October\Rain\Exception\ExceptionBase. If this exception acts as a mask, sets the face for the foreign exception.
- public static void unmask() - defined in October\Rain\Exception\ExceptionBase. Removes the active mask from the called class.
Protected methods
Show inherited protected methods
Inherited protected methods
- protected array filterCallStack(array $traceInfo) - defined in October\Rain\Exception\ExceptionBase. Removes the final steps of a call stack, which add no value for the user.
- protected string formatStackArguments(array $arguments) - defined in October\Rain\Exception\ExceptionBase. Prepares a function or method argument list for display in HTML or text format.