AuthenticationProvider interface
Interface that must be implemented by objects that are used to provide credentials to the transports used by the device client to authenticate with an Azure IoT hub instance.
Properties
type |
Methods
get |
|
get |
|
set |
Property Details
type
Method Details
getDeviceCredentials()
getDeviceCredentials(Callback<TransportConfig>)
function getDeviceCredentials(callback: Callback<TransportConfig>)
Parameters
- callback
setTokenRenewalValues(number, number)
function setTokenRenewalValues(tokenValidTimeInSeconds: number, tokenRenewalMarginInSeconds: number)
Parameters
- tokenValidTimeInSeconds
-
number
- tokenRenewalMarginInSeconds
-
number