CakePHP
  • Documentation
    • Book
    • API
    • Videos
    • Reporting Security Issues
    • Privacy Policy
    • Logos & Trademarks
  • Business Solutions
  • Swag
  • Road Trip
  • Team
  • Community
    • Community
    • Get Involved
    • Issues (Github)
    • Bakery
    • Featured Resources
    • Training
    • Meetups
    • My CakePHP
    • CakeFest
    • Newsletter
    • Linkedin
    • YouTube
    • Facebook
    • Twitter
    • Mastodon
    • Help & Support
    • Forum
    • Stack Overflow
    • IRC
    • Slack
    • Paid Support
CakePHP

C Authentication 4.x API

  • Project:
    • Authentication
      • CakePHP
      • Authentication
      • Authorization
      • Chronos
      • Elastic Search
      • Queue
  • Version:
    • 4.x
      • 3.x
      • 2.x

Namespaces

  • Authentication
    • Authenticator
    • Controller
    • Identifier
      • Ldap
      • Resolver
    • Middleware
    • PasswordHasher
    • UrlChecker
    • View

Class IdentifierFactory

Factory class for creating identifier instances from configuration

Namespace: Authentication\Identifier

Method Summary

  • create() public static

    Create an identifier from configuration.

Method Detail

create() ΒΆ public static

create(Authentication\Identifier\IdentifierInterface|array<string, mixed>|string $config, array<string, mixed> $defaultConfig = []): Authentication\Identifier\IdentifierInterface

Create an identifier from configuration.

Parameters
Authentication\Identifier\IdentifierInterface|array<string, mixed>|string $config

Identifier configuration. Can be a class name string, an instance, or an array with 'className' key.

array<string, mixed> $defaultConfig optional

Default configuration to merge.

Returns
Authentication\Identifier\IdentifierInterface
Throws
RuntimeException
When the identifier class cannot be found or created.
OpenHub
Pingping
Linode
  • Business Solutions
  • Showcase
  • Documentation
  • Book
  • API
  • Videos
  • Reporting Security Issues
  • Privacy Policy
  • Logos & Trademarks
  • Community
  • Get Involved
  • Issues (Github)
  • Bakery
  • Featured Resources
  • Training
  • Meetups
  • My CakePHP
  • CakeFest
  • Newsletter
  • Linkedin
  • YouTube
  • Facebook
  • Twitter
  • Mastodon
  • Help & Support
  • Forum
  • Stack Overflow
  • IRC
  • Slack
  • Paid Support

Generated using CakePHP API Docs