IsLoggedInMetadata: { allowedStrategies?: AuthStrategies }

Metadata for the @Auth.isLoggedIn decorator.

Type declaration

  • OptionalallowedStrategies?: AuthStrategies

    The strategies that are allowed for checking whether or not the user is logged in.

    If not set, this allows any strategy.