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/credentialsAuth"
CredentialsAuth
Class CredentialsAuth
Hierarchy
CredentialsAuth
Index
Constructors
constructor
Methods
authenticate
is
Api
Key
Mode
process
Constructors
constructor
new
Credentials
Auth
(
httpClient
:
BasicHttpClient
, credentials
:
ClientCredentials
|
undefined
, authProvider
:
any
)
:
CredentialsAuth
Parameters
httpClient:
BasicHttpClient
credentials:
ClientCredentials
|
undefined
authProvider:
any
Returns
CredentialsAuth
Methods
authenticate
authenticate
(
)
:
Promise
<
undefined
|
string
>
Returns
Promise
<
undefined
|
string
>
is
Api
Key
Mode
is
Api
Key
Mode
(
)
:
boolean
Returns
boolean
process
process
(
)
:
void
Returns
void
Globals
"core/src/credentials
Auth"
Credentials
Auth
constructor
authenticate
is
Api
Key
Mode
process
Client
Credentials
Token
Credentials