Share via


ServiceAuthenticationWithSharedAccessPolicyToken Classe

Définition

Méthode d’authentification qui utilise un jeton de stratégie d’accès partagé.

public sealed class ServiceAuthenticationWithSharedAccessPolicyToken : Microsoft.Azure.Devices.IAuthenticationMethod
type ServiceAuthenticationWithSharedAccessPolicyToken = class
    interface IAuthenticationMethod
Public NotInheritable Class ServiceAuthenticationWithSharedAccessPolicyToken
Implements IAuthenticationMethod
Héritage
ServiceAuthenticationWithSharedAccessPolicyToken
Implémente

Constructeurs

ServiceAuthenticationWithSharedAccessPolicyToken(String, String)

Initialise une nouvelle instance de la classe ServiceAuthenticationWithSharedAccessPolicyToken.

Propriétés

PolicyName

Nom de la stratégie

Token

Jeton SAS

Méthodes

Populate(IotHubConnectionStringBuilder)

Mises à jour le générateur de chaînes de connexion spécifié avec le nom de stratégie et le jeton

S’applique à