Authenticate implements Registerable, Standard_Service

Authenticate Handler

Tags
author

Barn2 Plugins support@barn2.com

license

GPL-3.0

copyright

Barn2 Media Ltd

Interfaces, Classes and Traits

Registerable
Standard_Service

Table of Contents

authenticate_customer()  : WP_User|WP_Error
Deny login for pending customers.
block_password_reset()  : bool
Block password reset for pending users
register()  : mixed
{@inheritdoc}

Methods

authenticate_customer()

Deny login for pending customers.

public authenticate_customer(WP_User|WP_Error $user) : WP_User|WP_Error

Just in case.

Parameters
$user : WP_User|WP_Error
Tags
Return values
WP_User|WP_Error

$user

block_password_reset()

Block password reset for pending users

public block_password_reset(bool $allow, int $user_id) : bool
Parameters
$allow : bool
$user_id : int
Tags
Return values
bool

$allow

register()

{@inheritdoc}

public register() : mixed
Tags
Return values
mixed

Search results