HumHub Documentation (unofficial)

CramMd5Authenticator
in package
implements AuthenticatorInterface

Handles CRAM-MD5 authentication.

Tags
author

Chris Corbyn

Table of Contents

Interfaces

AuthenticatorInterface
An Authentication mechanism.

Methods

authenticate()  : void
Tries to authenticate the user.
getAuthKeyword()  : string
Gets the name of the AUTH mechanism this Authenticator handles.
getResponse()  : string
Generates a CRAM-MD5 response from a server challenge.

Methods

getAuthKeyword()

Gets the name of the AUTH mechanism this Authenticator handles.

public getAuthKeyword() : string
Return values
string

getResponse()

Generates a CRAM-MD5 response from a server challenge.

private getResponse(string $secret, string $challenge) : string
Parameters
$secret : string
$challenge : string
Return values
string

        
On this page

Search results