Class AuthenticatableAbstract

Base class for entities that can be authenticated.

Hierarchy

  • Authenticatable

Implements

Implemented by

Constructors

Methods

  • Get the human-readable identifier of the user.

    Returns string

  • Attempt to validate a credential of the user.

    Parameters

    • credential: string

    Returns Awaitable<boolean>