ServiceAuthenticationWithSharedAccessPolicyKey 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 key.
public sealed class ServiceAuthenticationWithSharedAccessPolicyKey : Microsoft.Azure.Devices.IAuthenticationMethod
type ServiceAuthenticationWithSharedAccessPolicyKey = class
interface IAuthenticationMethod
Public NotInheritable Class ServiceAuthenticationWithSharedAccessPolicyKey
Implements IAuthenticationMethod
- Inheritance
-
ServiceAuthenticationWithSharedAccessPolicyKey
- Implements
Constructors
ServiceAuthenticationWithSharedAccessPolicyKey(String, String) |
Initializes a new instance of the ServiceAuthenticationWithSharedAccessPolicyKey class. |
Properties
Key |
The shared access key value. |
PolicyName |
The shared access policy name. |
Methods
Populate(IotHubConnectionStringBuilder) |
Populates the builder with values needed to authenticate with shared access policy key. |
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET