Share via


ApnsCredential Class

Definition

Description of a NotificationHub ApnsCredential.

[Microsoft.Rest.Serialization.JsonTransformation]
public class ApnsCredential
[<Microsoft.Rest.Serialization.JsonTransformation>]
type ApnsCredential = class
Public Class ApnsCredential
Inheritance
ApnsCredential
Attributes

Constructors

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.

Properties

ApnsCertificate

Gets or sets the APNS certificate. Specify if using Certificate Authentication Mode.

AppId

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

AppName

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

CertificateKey

Gets or sets the APNS certificate password if it exists.

Endpoint

Gets or sets 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'.

KeyId

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

Thumbprint

Gets or sets the APNS certificate thumbprint. Specify if using Certificate Authentication Mode.

Token

Gets or sets provider Authentication Token, obtained through your developer account. Specify if using Token Authentication Mode.

Applies to