method
RiduClient.session
RiduClient.session(
options?: RequestOptions,
): Promise<AuthSession<AuthUser<Config>>>Read and validate the current session.
Related types
RequestOptionsOptions shared by every request.
AuthSessionAn authenticated user session.
AuthUserThe union of generated output types for auth-enabled collections.