ProvisioningSasToken Class
- java.
lang. Object - com.
microsoft. azure. sdk. iot. provisioning. service. auth. ProvisioningSasToken
- com.
public class ProvisioningSasToken
Grants device access to an Provisioning for the specified amount of time.
Constructor Summary
Constructor | Description |
---|---|
ProvisioningSasToken(ProvisioningConnectionString provisioningConnectionString) |
Constructor. Generates a SAS token that grants access to an Provisioning for the specified amount of time. (1 year specified in TOKEN_VALID_SECONDS) |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
toString()
Returns the string representation of the SAS token. |
Constructor Details
ProvisioningSasToken
public ProvisioningSasToken(ProvisioningConnectionString provisioningConnectionString)
Constructor. Generates a SAS token that grants access to an Provisioning for the specified amount of time. (1 year specified in TOKEN_VALID_SECONDS)
Parameters:
Throws:
Method Details
toString
public String toString()
Returns the string representation of the SAS token.
Returns:
Applies to
Azure SDK for Java