Namespaces

  • Latte
    • Loaders
    • Macros
    • Runtime
  • Nette
    • Application
      • Responses
      • Routers
      • UI
    • Bridges
      • ApplicationDI
      • ApplicationLatte
      • ApplicationTracy
      • CacheDI
      • CacheLatte
      • DatabaseDI
      • DatabaseTracy
      • DITracy
      • FormsDI
      • FormsLatte
      • Framework
      • HttpDI
      • HttpTracy
      • MailDI
      • ReflectionDI
      • SecurityDI
      • SecurityTracy
    • Caching
      • Storages
    • ComponentModel
    • Database
      • Conventions
      • Drivers
      • Table
    • DI
      • Config
        • Adapters
      • Extensions
    • Forms
      • Controls
      • Rendering
    • Http
    • Iterators
    • Loaders
    • Localization
    • Mail
    • Neon
    • PhpGenerator
      • Traits
    • Reflection
    • Security
    • Tokenizer
    • Utils
  • Tracy
    • Bridges
      • Nette
  • none

Classes

  • Identity
  • Passwords
  • Permission
  • SimpleAuthenticator
  • User

Interfaces

  • IAuthenticator
  • IAuthorizator
  • IIdentity
  • IResource
  • IRole
  • IUserStorage

Exceptions

  • AuthenticationException
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Other releases

Interface IAuthenticator

Performs authentication.

Direct known implementers

Nette\Security\SimpleAuthenticator
Namespace: Nette\Security
Located at Security/IAuthenticator.php
Methods summary
public Nette\Security\IIdentity
# authenticate( array $credentials )

Performs an authentication against e.g. database. and returns IIdentity on success or throws AuthenticationException

Performs an authentication against e.g. database. and returns IIdentity on success or throws AuthenticationException

Returns

Nette\Security\IIdentity
IIdentity

Throws

Nette\Security\AuthenticationException
AuthenticationException
Constants summary
integer USERNAME

Credential key

Credential key

#0
integer PASSWORD

Credential key

Credential key

#1
integer IDENTITY_NOT_FOUND

Exception error code

Exception error code

#1
integer INVALID_CREDENTIAL

Exception error code

Exception error code

#2
integer FAILURE

Exception error code

Exception error code

#3
integer NOT_APPROVED

Exception error code

Exception error code

#4
Nette 2.4-20180918 API API documentation generated by ApiGen 2.8.0