Protected_Protected_Protected_StaticUserThe User class reference to be used by the adapter.
Validates and returns user session context from a raw JWT via the PocketBase SDK.
The raw authentication token.
The associated user record.
Returns the pluggable endpoint handler function for this adapter, if any.
The EndpointHandler callback or null.
Retrieves a configuration parameter.
The parameter key to fetch.
The corresponding configuration value.
Express middleware capturing Bearer JWT tokens to execute auth verification.
The middleware function.
Initiates password recovery/reset process for a user.
The user email.
OptionalredirectTo: stringOptional redirect destination.
Attempts to renew the SDK auth token via a refresh flow.
The refresh token.
An object containing the new access token.
Registers a new user directly in PocketBase.
Target user entity.
OptionalclearPassword: stringThe plaintext password string.
The created user record.
Clears the current stored context mapping to the given token.
The token to revoke.
Modifies metadata claims mapped to the internal user_metadata field.
The user ID.
The payload to store.
Assigns a configuration parameter for the adapter.
The parameter key.
The parameter value.
Discards the active local SDK authentication store.
Optionaluser: UserTarget user.
Authenticates a user against PocketBase via email and password.
Login identifier.
Plaintext password.
The authenticated session wrapper containing user state and the JWT token.
Modifies a PocketBase user collection record.
Target user.
Property patches.
Authentication adapter implementing the PocketBase backend logic. Exposes login, registration, and token management via the official
pocketbaseJS SDK.