Search
Preparing search index...
The search index is not available
Cognite JavaScript SDK (beta)
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"core/src/authFlows/legacy"
Module "core/src/authFlows/legacy"
Index
Classes
Cognite
Authentication
Interfaces
Auth
Options
Id
Info
Login
Params
On
Authenticate
Login
Object
Type aliases
On
Authenticate
On
Tokens
Variables
POPUP
REDIRECT
Functions
extract
Tokens
From
Url
get
IdInfo
From
Access
Token
is
Tokens
Valid
on
Authenticate
With
Popup
on
Authenticate
With
Redirect
Type aliases
On
Authenticate
On
Authenticate
:
(
login
:
OnAuthenticateLoginObject
)
=>
void
Type declaration
(
login
:
OnAuthenticateLoginObject
)
:
void
Parameters
login:
OnAuthenticateLoginObject
Returns
void
On
Tokens
On
Tokens
:
(
tokens
:
AuthTokens
)
=>
void
Type declaration
(
tokens
:
AuthTokens
)
:
void
Parameters
tokens:
AuthTokens
Returns
void
Variables
Const
POPUP
POPUP
:
"POPUP"
= "POPUP"
Const
REDIRECT
REDIRECT
:
"REDIRECT"
= "REDIRECT"
Functions
extract
Tokens
From
Url
extract
Tokens
From
Url
(
)
:
null
|
AuthTokens
Returns
null
|
AuthTokens
get
IdInfo
From
Access
Token
get
IdInfo
From
Access
Token
(
httpClient
:
CDFHttpClient
, accessToken
:
string
)
:
Promise
<
null
|
IdInfo
>
Parameters
httpClient:
CDFHttpClient
accessToken:
string
Returns
Promise
<
null
|
IdInfo
>
is
Tokens
Valid
is
Tokens
Valid
(
httpClient
:
CDFHttpClient
, project
:
string
, tokens
:
AuthTokens
)
:
Promise
<
boolean
>
Parameters
httpClient:
CDFHttpClient
project:
string
tokens:
AuthTokens
Returns
Promise
<
boolean
>
on
Authenticate
With
Popup
on
Authenticate
With
Popup
(
login
:
OnAuthenticateLoginObject
)
:
void
Parameters
login:
OnAuthenticateLoginObject
Returns
void
on
Authenticate
With
Redirect
on
Authenticate
With
Redirect
(
login
:
OnAuthenticateLoginObject
)
:
void
Parameters
login:
OnAuthenticateLoginObject
Returns
void
Globals
"core/src/auth
Flows/legacy"
Cognite
Authentication
Auth
Options
Id
Info
Login
Params
On
Authenticate
Login
Object
On
Authenticate
On
Tokens
POPUP
REDIRECT
extract
Tokens
From
Url
get
IdInfo
From
Access
Token
is
Tokens
Valid
on
Authenticate
With
Popup
on
Authenticate
With
Redirect