pub fn authentication_using_sas<S, T>(mut self, primary_key: S, secondary_key: T) -> Self
    where
        S: Into<String>,
        T: Into<String>,
    {
        self.authentication = Some(AuthenticationMechanism {
            authentication_type: AuthenticationType::SAS,
            x509_thumbprint: X509ThumbPrint::default(),
            symmetric_key: SymmetricKey {
                primary_key: Some(primary_key.into()),
                secondary_key: Some(secondary_key.into()),
            },
        });

        self
    }
/// Set authentication to SAS on the device
Set authentication to SAS on the device
Set authentication to SAS on the device
pub fn authentication_using_sas<S, T>(mut self, primary_key: S, secondary_key: T) -> Self
    where
        S: Into<String>,
        T: Into<String>,
    {
        self.authentication = Some(AuthenticationMechanism {
            authentication_type: AuthenticationType::SAS,
            x509_thumbprint: X509ThumbPrint::default(),
            symmetric_key: SymmetricKey {
                primary_key: Some(primary_key.into()),
                secondary_key: Some(secondary_key.into()),
            },
        });
        self
    }
pub fn authentication_using_sas < S , T > ( mut self , primary_key : S , secondary_key : T ) -> Self where S : Into < String > , T : Into < String > , { self . authentication = Some ( AuthenticationMechanism { authentication_type : AuthenticationType :: SAS , x509_thumbprint : X509ThumbPrint :: default ( ) , symmetric_key : SymmetricKey { primary_key : Some ( primary_key . into ( ) ) , secondary_key : Some ( secondary_key . into ( ) ) , } , } ) ; self }
Set authentication to SAS on the device
Set authentication to SAS on the device
mut self
primary_key
S
secondary_key
T