資源評価 web リファレンス - v0.2.14
GitHub
Preparing search index...
domain/repositories
ユーザーRepository
Interface ユーザーRepository
interface
ユーザーRepository
{
findByEmail
(
email
:
string
)
:
Promise
<
ユーザー
|
undefined
>
;
findById
(
id
:
string
)
:
Promise
<
ユーザー
|
undefined
>
;
"findBy資源名"
(
担当資源名
:
資源名
)
:
Promise
<
ユーザー
[]
>
;
authenticate
(
email
:
string
,
password
:
string
)
:
Promise
<
認証済ユーザー
|
null
>
;
"getCurrentユーザー"
()
:
Promise
<
認証済ユーザー
|
null
>
;
logout
()
:
Promise
<
void
>
;
onAuthStateChange
(
callback
:
(
user
:
認証済ユーザー
|
null
)
=>
void
)
:
()
=>
void
;
}
Index
Methods
find
By
Email
find
By
Id
find
By資源名
authenticate
get
Currentユーザー
logout
on
Auth
State
Change
Methods
find
By
Email
findByEmail
(
email
:
string
)
:
Promise
<
ユーザー
|
undefined
>
Parameters
email
:
string
Returns
Promise
<
ユーザー
|
undefined
>
find
By
Id
findById
(
id
:
string
)
:
Promise
<
ユーザー
|
undefined
>
Parameters
id
:
string
Returns
Promise
<
ユーザー
|
undefined
>
find
By資源名
"findBy資源名"
(
担当資源名
:
資源名
)
:
Promise
<
ユーザー
[]
>
Parameters
担当資源名
:
資源名
Returns
Promise
<
ユーザー
[]
>
authenticate
authenticate
(
email
:
string
,
password
:
string
)
:
Promise
<
認証済ユーザー
|
null
>
Parameters
email
:
string
password
:
string
Returns
Promise
<
認証済ユーザー
|
null
>
get
Currentユーザー
"getCurrentユーザー"
()
:
Promise
<
認証済ユーザー
|
null
>
Returns
Promise
<
認証済ユーザー
|
null
>
logout
logout
()
:
Promise
<
void
>
Returns
Promise
<
void
>
on
Auth
State
Change
onAuthStateChange
(
callback
:
(
user
:
認証済ユーザー
|
null
)
=>
void
)
:
()
=>
void
Parameters
callback
:
(
user
:
認証済ユーザー
|
null
)
=>
void
Returns
()
=>
void
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
find
By
Email
find
By
Id
find
By資源名
authenticate
get
Currentユーザー
logout
on
Auth
State
Change
GitHub
資源評価 web リファレンス - v0.2.14
Loading...