Libraries
    Preparing search index...

    Type Alias AuthenticationResult<T>

    AuthenticationResult:
        | { principal: Principal<T>; succeeded: true }
        | { failure?: string; succeeded: false }

    The result returned by AuthenticationScheme.authenticate. On success, provides a typed Principal; on failure, an optional reason.

    Type Parameters

    • T = unknown