Partager via


BrowserCredential Class

Definition

Description of a NotificationHub BrowserCredential.

public class BrowserCredential : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.NotificationHubs.Models.BrowserCredential>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.NotificationHubs.Models.BrowserCredential>
type BrowserCredential = class
    interface IJsonModel<BrowserCredential>
    interface IPersistableModel<BrowserCredential>
Public Class BrowserCredential
Implements IJsonModel(Of BrowserCredential), IPersistableModel(Of BrowserCredential)
Inheritance
BrowserCredential
Implements

Constructors

BrowserCredential(String, String, String)

Initializes a new instance of BrowserCredential.

Properties

Subject

Gets or sets web push subject.

VapidPrivateKey

Gets or sets VAPID private key.

VapidPublicKey

Gets or sets VAPID public key.

Explicit Interface Implementations

IJsonModel<BrowserCredential>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<BrowserCredential>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BrowserCredential>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BrowserCredential>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<BrowserCredential>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to