Nextcloud PHP API (master)

UserLoggedInEvent extends Event
in package

Base event class for the event dispatcher service

Tags
since
18.0.0

Table of Contents

Properties

$isTokenLogin  : bool
$loginName  : string
$password  : string|null
$propagationStopped  : bool
$user  : IUser

Methods

__construct()  : mixed
Compatibility constructor
getLoginName()  : string
getPassword()  : string|null
getUid()  : string
getUser()  : IUser
isPropagationStopped()  : bool
{@inheritDoc}
isTokenLogin()  : bool
stopPropagation()  : void
Stops the propagation of the event to further event listeners

Properties

$propagationStopped

private bool $propagationStopped = false
Tags
since
22.0.0

Methods

__construct()

Compatibility constructor

public __construct(IUser $user, string $loginName, string|null $password, bool $isTokenLogin) : mixed
Parameters
$user : IUser
$loginName : string
$password : string|null
$isTokenLogin : bool
Tags
since
18.0.0

getLoginName()

public getLoginName() : string
Tags
since
21.0.0
Return values
string

getPassword()

public getPassword() : string|null
Tags
since
18.0.0
Return values
string|null

isPropagationStopped()

{@inheritDoc}

public isPropagationStopped() : bool
Tags
since
22.0.0
see
StoppableEventInterface
Return values
bool

isTokenLogin()

public isTokenLogin() : bool
Tags
since
18.0.0
Return values
bool

stopPropagation()

Stops the propagation of the event to further event listeners

public stopPropagation() : void
Tags
since
22.0.0

        
On this page

Search results