Documentation

ManualCredential extends Credential
in package

Table of Contents

Properties

$opt  : array<string|int, mixed>

Methods

__construct()  : mixed
checkUserModule()  : mixed
createFor()  : mixed
getOpt()  : array<string|int, mixed>
getOptUser()  : mixed
getOptUserId()  : mixed
getOptVal()  : mixed
getOptValOr()  : mixed
getRawCredential()  : User|null
getUser()  : User|null
getUserModule()  : UserModule
hasOptKey()  : mixed
isFine()  : mixed
setOpt()  : static
setUserModule()  : self
toJson()  : mixed
toJsonAssoc()  : mixed

Properties

$opt

private array<string|int, mixed> $opt

Methods

__construct()

public __construct([UserModule|null $userModule = null ][, array<string|int, mixed> $opt = [] ]) : mixed
Parameters
$userModule : UserModule|null = null
$opt : array<string|int, mixed> = []

createFor()

public static createFor(UserModule &$userModule[, array<string|int, mixed> $opt = [] ]) : mixed
Parameters
$userModule : UserModule
$opt : array<string|int, mixed> = []

getOpt()

public getOpt([array<string|int, mixed> $opt = null ]) : array<string|int, mixed>
Parameters
$opt : array<string|int, mixed> = null
Return values
array<string|int, mixed>

getOptUser()

public getOptUser() : mixed

getOptUserId()

public getOptUserId() : mixed

getOptVal()

public getOptVal(string $key) : mixed
Parameters
$key : string

getOptValOr()

public getOptValOr(string $key[, mixed $or = null ]) : mixed
Parameters
$key : string
$or : mixed = null

getRawCredential()

public getRawCredential() : User|null
Return values
User|null

getUser()

public getUser() : User|null
Return values
User|null

hasOptKey()

public hasOptKey(string $key) : mixed
Parameters
$key : string

setOpt()

public setOpt(array<string|int, mixed> $opt) : static
Parameters
$opt : array<string|int, mixed>
Return values
static

        
On this page

Search results