Share via


ServiceAuthenticationWithSharedAccessPolicyToken Classe

Definição

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

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

Construtores

ServiceAuthenticationWithSharedAccessPolicyToken(String, String)

Inicializa uma nova instância da classe ServiceAuthenticationWithSharedAccessPolicyToken.

Propriedades

PolicyName

O nome da política

Token

O token SAS

Métodos

Populate(IotHubConnectionStringBuilder)

Atualizações o construtor de cadeia de conexão especificado com o nome e o token da política

Aplica-se a