ArmNotificationHubsModelFactory.BrowserCredential 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.BrowserCredential BrowserCredential(string subject = default, string vapidPrivateKey = default, string vapidPublicKey = default);
static member BrowserCredential : string * string * string -> Azure.ResourceManager.NotificationHubs.Models.BrowserCredential
Public Shared Function BrowserCredential (Optional subject As String = Nothing, Optional vapidPrivateKey As String = Nothing, Optional vapidPublicKey As String = Nothing) As BrowserCredential
Parameters
- subject
- String
Gets or sets web push subject.
- vapidPrivateKey
- String
Gets or sets VAPID private key.
- vapidPublicKey
- String
Gets or sets VAPID public key.
Returns
A new BrowserCredential instance for mocking.
Exceptions
subject, vapidPrivateKey or vapidPublicKey is null.