Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
method UserDao.getByCredentials
import { UserDao } from "https://deno.land/x/authlete_deno_fen_oauth_server@v1.0.0/src/db/user_dao.ts";

Search a user with the given login ID and password.

Parameters

loginId: string | null

The login ID of a user.

password: string | null

The password of a user.

Returns

UserEntity | null

A UserEntity object representing a user who has the given credentials or null if no user has the credentials.