ApnsCredential Constructors

Definition

Overloads

ApnsCredential()

Initializes a new instance of the ApnsCredential class.

ApnsCredential(String, String, String, String, String, String, String, String)

Initializes a new instance of the ApnsCredential class.

ApnsCredential()

Initializes a new instance of the ApnsCredential class.

public ApnsCredential ();
Public Sub New ()

Applies to

ApnsCredential(String, String, String, String, String, String, String, String)

Initializes a new instance of the ApnsCredential class.

public ApnsCredential (string apnsCertificate = default, string certificateKey = default, string endpoint = default, string thumbprint = default, string keyId = default, string appName = default, string appId = default, string token = default);
new Microsoft.Azure.Management.NotificationHubs.Models.ApnsCredential : string * string * string * string * string * string * string * string -> Microsoft.Azure.Management.NotificationHubs.Models.ApnsCredential
Public Sub New (Optional apnsCertificate As String = Nothing, Optional certificateKey As String = Nothing, Optional endpoint As String = Nothing, Optional thumbprint As String = Nothing, Optional keyId As String = Nothing, Optional appName As String = Nothing, Optional appId As String = Nothing, Optional token As String = Nothing)

Parameters

apnsCertificate
String

The APNS certificate. Specify if using Certificate Authentication Mode.

certificateKey
String

The APNS certificate password if it exists.

endpoint
String

The APNS endpoint of this credential. If using Certificate Authentication Mode and Sandbox specify 'gateway.sandbox.push.apple.com'. If using Certificate Authentication Mode and Production specify 'gateway.push.apple.com'. If using Token Authentication Mode and Sandbox specify 'https://api.development.push.apple.com:443/3/device'. If using Token Authentication Mode and Production specify 'https://api.push.apple.com:443/3/device'.

thumbprint
String

The APNS certificate thumbprint. Specify if using Certificate Authentication Mode.

keyId
String

A 10-character key identifier (kid) key, obtained from your developer account. Specify if using Token Authentication Mode.

appName
String

The name of the application or BundleId. Specify if using Token Authentication Mode.

appId
String

The issuer (iss) registered claim key. The value is a 10-character TeamId, obtained from your developer account. Specify if using Token Authentication Mode.

token
String

Provider Authentication Token, obtained through your developer account. Specify if using Token Authentication Mode.

Applies to