[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/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):
  register()


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 : Thu Dec 15 08:20:01 2022 Cross-referenced by PHPXref