Lucia v3

Lucia.readBearerToken()

Method of Lucia. Reads the bearer token from the Authorization`` header. Returns null` if the token doesn't exist.

Definition

function readBearerToken(authorizationHeader: string): string | null;

Parameters

  • authorizationHeader: HTTP Authorization header