ArmNotificationHubsModelFactory.NotificationHubApnsCredential Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static Azure.ResourceManager.NotificationHubs.Models.NotificationHubApnsCredential NotificationHubApnsCredential(string apnsCertificate = default, string certificateKey = default, Uri endpoint = default, string thumbprintString = default, string keyId = default, string appName = default, string appId = default, string token = default);
static member NotificationHubApnsCredential : string * string * Uri * string * string * string * string * string -> Azure.ResourceManager.NotificationHubs.Models.NotificationHubApnsCredential
Public Shared Function NotificationHubApnsCredential (Optional apnsCertificate As String = Nothing, Optional certificateKey As String = Nothing, Optional endpoint As Uri = Nothing, Optional thumbprintString As String = Nothing, Optional keyId As String = Nothing, Optional appName As String = Nothing, Optional appId As String = Nothing, Optional token As String = Nothing) As NotificationHubApnsCredential
Parameters
- apnsCertificate
- String
Gets or sets the APNS certificate.
- certificateKey
- String
Gets or sets the certificate key.
- endpoint
- Uri
Gets or sets the endpoint of this credential.
- thumbprintString
- String
Gets or sets the APNS certificate Thumbprint.
- keyId
- String
Gets or sets a 10-character key identifier (kid) key, obtained from your developer account
- appName
- String
Gets or sets the name of the application.
- appId
- String
Gets or sets the issuer (iss) registered claim key, whose value is your 10-character Team ID, obtained from your developer account
- token
- String
Gets or sets provider Authentication Token, obtained through your developer account
Returns
A new NotificationHubApnsCredential instance for mocking.
Exceptions
endpoint is null.