ServiceAuthenticationWithSharedAccessPolicyToken Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Authentication method that uses a shared access policy token.
public sealed class ServiceAuthenticationWithSharedAccessPolicyToken : Microsoft.Azure.Devices.IAuthenticationMethod
type ServiceAuthenticationWithSharedAccessPolicyToken = class
interface IAuthenticationMethod
Public NotInheritable Class ServiceAuthenticationWithSharedAccessPolicyToken
Implements IAuthenticationMethod
- Inheritance
-
ServiceAuthenticationWithSharedAccessPolicyToken
- Implements
Constructors
ServiceAuthenticationWithSharedAccessPolicyToken(String, String) |
Initializes a new instance of the ServiceAuthenticationWithSharedAccessPolicyToken class. |
Properties
PolicyName |
The name of the policy |
Token |
The SAS token |
Methods
Populate(IotHubConnectionStringBuilder) |
Updates the specified connection string builder with policy name and token |