@nebius/js-sdk - v0.1.4
Services Index
GitHub
Preparing search index...
runtime/token
Token
Class Token
Indexable
[
key
:
symbol
]:
(
()
=>
string
)
|
(
()
=>
object
)
Index
Constructors
constructor
Properties
$type
Accessors
expiration
token
Methods
[custom
Json]
equals
is
Empty
is
Expired
to
JSON
to
String
empty
from
JSON
Constructors
constructor
new
Token
(
token
:
string
,
expiration
?:
Date
)
:
Token
Parameters
token
:
string
Optional
expiration
:
Date
Returns
Token
Properties
Readonly
$type
$type
:
"nebius.iam.AccessToken"
= 'nebius.iam.AccessToken'
Accessors
expiration
get
expiration
()
:
Date
|
undefined
Returns
Date
|
undefined
token
get
token
()
:
string
Returns
string
Methods
[custom
Json]
"[customJson]"
()
:
object
Returns
object
equals
equals
(
other
:
unknown
)
:
boolean
Parameters
other
:
unknown
Returns
boolean
is
Empty
isEmpty
()
:
boolean
Returns
boolean
is
Expired
isExpired
()
:
boolean
Returns
boolean
to
JSON
toJSON
()
:
{
expires_at
:
number
|
null
;
token
:
string
}
Returns
{
expires_at
:
number
|
null
;
token
:
string
}
to
String
toString
()
:
string
Returns
string
Static
empty
empty
()
:
Token
Returns
Token
Static
from
JSON
fromJSON
(
data
:
{
expires_at
?:
number
|
null
;
token
?:
string
}
)
:
Token
Parameters
data
:
{
expires_at
?:
number
|
null
;
token
?:
string
}
Returns
Token
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
$type
Accessors
expiration
token
Methods
[custom
Json]
equals
is
Empty
is
Expired
to
JSON
to
String
empty
from
JSON
Services Index
Services Index
GitHub
@nebius/js-sdk - v0.1.4
Loading...