Preparing search index...
The search index is not available
omg.lol API Wrapper
omg.lol API Wrapper
<internal>
Session
Class Session
Hierarchy
Session
Implements
ISession
Index
Constructors
constructor
Properties
#email
#token
created_
ip
created_
on
expires_
on
session_
id
user_
agent
Methods
remove
Constructors
constructor
new
Session
(
token
:
string
, email
:
string
, session
:
ISession
)
:
Session
Parameters
token:
string
email:
string
session:
ISession
Returns
Session
Properties
Private
Readonly
#email
#email
:
string
Private
Readonly
#token
#token
:
string
created_
ip
created_
ip
:
string
created_
on
created_
on
:
string
expires_
on
expires_
on
:
string
session_
id
session_
id
:
string
user_
agent
user_
agent
:
string
Methods
remove
remove
(
)
:
Promise
<
boolean
>
Removes the session
Returns
whether the session was removed
Returns
Promise
<
boolean
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
omg.lol API
Wrapper
<internal>
Session
constructor
#email
#token
created_
ip
created_
on
expires_
on
session_
id
user_
agent
remove
Generated using
TypeDoc
Removes the session
Returns
whether the session was removed