Share via


ServiceAuthenticationWithSharedAccessPolicyKey Classe

Definição

Método de autenticação que usa uma chave de política de acesso compartilhado.

public sealed class ServiceAuthenticationWithSharedAccessPolicyKey : Microsoft.Azure.Devices.IAuthenticationMethod
type ServiceAuthenticationWithSharedAccessPolicyKey = class
    interface IAuthenticationMethod
Public NotInheritable Class ServiceAuthenticationWithSharedAccessPolicyKey
Implements IAuthenticationMethod
Herança
ServiceAuthenticationWithSharedAccessPolicyKey
Implementações

Construtores

ServiceAuthenticationWithSharedAccessPolicyKey(String, String)

Inicializa uma nova instância da classe ServiceAuthenticationWithSharedAccessPolicyKey.

Propriedades

Key

O valor da chave de acesso compartilhado.

PolicyName

O nome da política de acesso compartilhado.

Métodos

Populate(IotHubConnectionStringBuilder)

Preenche o construtor com os valores necessários para autenticar com a chave de política de acesso compartilhado.

Aplica-se a