[ Index ]

PHP Cross Reference of WordPress




/wp-includes/Requests/ -> Auth.php (summary)

Authentication provider interface

File Size: 33 lines (1 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Requests_Auth:: (1 method):

Interface: Requests_Auth  - X-Ref

Authentication provider interface

Implement this interface to act as an authentication provider.

Parameters should be passed via the constructor where possible, as this
makes it much easier for users to use your provider.

register(Requests_Hooks $hooks)   X-Ref
Register hooks as needed

This method is called in {@see Requests::request} when the user has set
an instance as the 'auth' option. Use this callback to register all the
hooks you'll need.

param: Requests_Hooks $hooks Hook system

Generated: Mon Sep 20 01:00:04 2021 Cross-referenced by PHPXref 0.7.1