\OCP\AuthenticationIAuthModule

Interface IAuthModule

Summary

Methods
Constants
auth()
getUserPassword()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

auth()

auth(\OCP\IRequest  $request) : null|\OCP\IUser

Authenticates a request.

Parameters

\OCP\IRequest $request

The request.

Returns

null|\OCP\IUser

The user if the request is authenticated, null otherwise.

getUserPassword()

getUserPassword(\OCP\IRequest  $request) : String

Returns the user's password.

Parameters

\OCP\IRequest $request

The request.

Returns

String —

The user's password.