Search
Preparing search index...
The search index is not available
@nationskollen/sdk
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@nationskollen/sdk
services/auth
Auth
Class Auth
Hierarchy
BaseService
Auth
Index
Constructors
constructor
Properties
$connection
user
Methods
login
logout
set
User
Constructors
constructor
new
Auth
(
connection
:
Connection
)
:
Auth
Parameters
connection:
Connection
Returns
Auth
Properties
Protected
$connection
$connection
:
Connection
Optional
user
user
:
User
Methods
login
login
(
email
:
string
, password
:
string
)
:
Promise
<
User
>
Parameters
email:
string
password:
string
Returns
Promise
<
User
>
logout
logout
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
set
User
set
User
(
user
?:
User
)
:
void
Parameters
Optional
user:
User
Returns
void
Modules
services/auth
Auth
constructor
$connection
user
login
logout
set
User
Generated using
TypeDoc