共用方式為


AuthenticationMethodFactory Class

Definition

Creates an instance of an implementation of IAuthenticationMethod based on known authentication parameters.

public sealed class AuthenticationMethodFactory
type AuthenticationMethodFactory = class
Public NotInheritable Class AuthenticationMethodFactory
Inheritance
AuthenticationMethodFactory

Constructors

AuthenticationMethodFactory()

Methods

CreateAuthenticationWithRegistrySymmetricKey(String, String)

Creates a DeviceAuthenticationWithRegistrySymmetricKey instance based on the parameters.

CreateAuthenticationWithRegistrySymmetricKey(String, String, String)

Creates a ModuleAuthenticationWithRegistrySymmetricKey instance based on the parameters.

CreateAuthenticationWithSharedAccessPolicyKey(String, String, String)

Creates a DeviceAuthenticationWithSharedAccessPolicyKey instance based on the parameters.

CreateAuthenticationWithToken(String, String)

Creates a DeviceAuthenticationWithToken instance based on the parameters.

CreateAuthenticationWithToken(String, String, String)

Creates a ModuleAuthenticationWithToken instance based on the parameters.

Applies to