Cumulocity Web SDK - v1021.62.8
Preparing search index...
BearerAuth
Class BearerAuth
Used for header based Authentication.
Hierarchy (
View Summary
)
BearerAuth
BearerAuthFromSessionStorage
Implements
IAuthentication
Index
Constructors
constructor
Methods
get
Cometd
Handshake
get
Fetch
Options
logout
update
Credentials
Constructors
constructor
new
BearerAuth
(
token
?:
string
)
:
BearerAuth
Parameters
Optional
token
:
string
Returns
BearerAuth
Methods
get
Cometd
Handshake
getCometdHandshake
(
config
?:
{
ext
?:
any
}
)
:
{
ext
?:
any
}
Parameters
config
:
{
ext
?:
any
}
= {}
Returns
{
ext
?:
any
}
get
Fetch
Options
getFetchOptions
(
options
:
IFetchOptions
)
:
IFetchOptions
Parameters
options
:
IFetchOptions
Returns
IFetchOptions
logout
logout
()
:
void
Returns
void
update
Credentials
updateCredentials
(
__namedParameters
:
ICredentials
)
:
undefined
Parameters
__namedParameters
:
ICredentials
Returns
undefined
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
get
Cometd
Handshake
get
Fetch
Options
logout
update
Credentials
Cumulocity Web SDK - v1021.62.8
Loading...
Used for header based Authentication.