LDAP Account Manager

OpenIdProvider extends BaseProvider
in package

Provider for OpenId.

Table of Contents

$config  : mixed
$verificationFailed  : mixed
__construct()  : mixed
Constructor.
addCustomInput()  : mixed
Adds the custom input fields to the form.
getSerials()  : mixed
{@inheritDoc}
hasCustomInputForm()  : has
Returns if the service has a custom input form.
isShowSubmitButton()  : bool
Returns if the submit button should be shown.
supportsToRememberDevice()  : bool
verify2ndFactor()  : mixed
{@inheritDoc}
getLoginAttributeValue()  : string
Returns the value of the user attribute in LDAP.
getAuthorizationService()  : AuthorizationService
Returns the authorization service.
getOpenIdClient()  : Client
Returns the client object.

Properties

$verificationFailed

private mixed $verificationFailed = false

Methods

addCustomInput()

Adds the custom input fields to the form.

public addCustomInput(mixed &$row, mixed $userDn) : mixed
Parameters
$row : mixed

row where to add the input fields

$userDn : mixed

user DN

Tags
throws
LAMException

error building custom input

see
BaseProvider::addCustomInput()
Return values
mixed

getSerials()

{@inheritDoc}

public getSerials(mixed $user, mixed $password) : mixed
Parameters
$user : mixed
$password : mixed
Tags
see
TwoFactorProvider::getSerials()
Return values
mixed

supportsToRememberDevice()

public supportsToRememberDevice() : bool
Tags
inheritDoc
Return values
bool

verify2ndFactor()

{@inheritDoc}

public verify2ndFactor(mixed $user, mixed $password, mixed $serial, mixed $twoFactorInput) : mixed
Parameters
$user : mixed
$password : mixed
$serial : mixed
$twoFactorInput : mixed
Tags
see
TwoFactorProvider::verify2ndFactor()
Return values
mixed

getLoginAttributeValue()

Returns the value of the user attribute in LDAP.

protected getLoginAttributeValue(string $userDn) : string
Parameters
$userDn : string

user DN

Return values
string

user name

getAuthorizationService()

Returns the authorization service.

private getAuthorizationService() : AuthorizationService
Return values
AuthorizationService

service

getOpenIdClient()

Returns the client object.

private getOpenIdClient() : Client
Return values
Client

client

Search results