class DynamicDnsAuthenticationService (View source)

Methods

__construct(DynamicDnsRepositoryInterface $repository, UserAuthenticationService $userAuthService, LoginAttemptService|null $loginAttemptService = null)

No description

User|null
authenticateUser(DynamicDnsRequest $request, string $clientIp = '')

Authenticate a DDNS update request.

array
getUserZones(User $user)

No description

bool
userCanUpdateZone(User $user, int $zoneId)

No description

Details

__construct(DynamicDnsRepositoryInterface $repository, UserAuthenticationService $userAuthService, LoginAttemptService|null $loginAttemptService = null)

No description

Parameters

DynamicDnsRepositoryInterface $repository
UserAuthenticationService $userAuthService
LoginAttemptService|null $loginAttemptService

User|null authenticateUser(DynamicDnsRequest $request, string $clientIp = '')

Authenticate a DDNS update request.

Parameters

DynamicDnsRequest $request
string $clientIp

client IP for lockout tracking; pass '' to disable per-IP throttle for callers that don't have a stable peer address (e.g. CLI bootstrap).

Return Value

User|null

array getUserZones(User $user)

No description

Parameters

User $user

Return Value

array

bool userCanUpdateZone(User $user, int $zoneId)

No description

Parameters

User $user
int $zoneId

Return Value

bool