HumHub Documentation (unofficial)

AuthHelper
in package

Class AuthHelper

Tags
since
1.4

Table of Contents

Methods

generateUsernameByAttributes()  : string
Find or generates a username based on given attributes provided by an AuthClient.
isGuestAccessEnabled()  : bool
Checks if limited access is allowed for unauthenticated users.

Methods

generateUsernameByAttributes()

Find or generates a username based on given attributes provided by an AuthClient.

public static generateUsernameByAttributes(mixed $attributes) : string
Parameters
$attributes : mixed
Tags
throws
Exception
Return values
string

isGuestAccessEnabled()

Checks if limited access is allowed for unauthenticated users.

public static isGuestAccessEnabled() : bool
Return values
bool

        
On this page

Search results