RAGS - v1.11.0
    Preparing search index...

    Variable authenticate

    authenticate: (password: string, service?: string) => Promise<unknown>

    Type Declaration

      • (password: string, service?: string): Promise<unknown>
      • Authenticates the current user with the given password via PAM.

        Parameters

        • password: string

          The password to verify

        • service: string = 'ags'

        Returns Promise<unknown>

        A promise that resolves on success or rejects on failure