Preparing search index...
The search index is not available
Cumulocity Web SDK - v1021.3.1
Cumulocity Web SDK
BearerAuth
Class BearerAuth
Used for header based Authentication.
Hierarchy (
view full
)
BearerAuth
BearerAuthFromSessionStorage
Implements
IAuthentication
Index
Constructors
constructor
Methods
get
Cometd
Handshake
get
Fetch
Options
logout
update
Credentials
Constructors
constructor
new
Bearer
Auth
(
token
?
)
:
BearerAuth
Parameters
Optional
token
:
string
Returns
BearerAuth
Methods
get
Cometd
Handshake
get
Cometd
Handshake
(
config
?
)
:
{
ext
?:
any
;
}
Parameters
config
:
{
ext
?:
any
;
}
= {}
Optional
ext
?:
any
Returns
{
ext
?:
any
;
}
Optional
ext
?:
any
get
Fetch
Options
get
Fetch
Options
(
options
)
:
IFetchOptions
Parameters
options
:
IFetchOptions
Returns
IFetchOptions
logout
logout
(
)
:
void
Returns
void
update
Credentials
update
Credentials
(
__namedParameters
)
:
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.3.1
Loading...
Used for header based Authentication.