Setu-TS
    Preparing search index...

    Interface FcmProviderOptions

    Options for FcmProvider.

    0.1.0

    interface FcmProviderOptions {
        clientEmail?: string;
        http?: INotificationHttp;
        privateKey?: string;
        projectId: string;
        runtime?: IRuntimeServices;
        tokenSource?: FcmTokenSource;
    }
    Index
    clientEmail?: string

    Service-account email that signs the OAuth2 assertion. Required unless tokenSource is supplied.

    privateKey?: string

    PEM PKCS#8 private key for the service account. Required unless tokenSource is supplied.

    projectId: string

    Firebase project id; addressed by the v1 messages:send URL.

    Runtime services providing Web Crypto and the wall clock, used to sign the assertion and expire cached tokens. Required unless tokenSource is supplied; the plugin passes this automatically.

    tokenSource?: FcmTokenSource

    Overrides how access tokens are acquired — e.g. from a GCP metadata server instead of a locally held key. When set, the three credential fields above are unused.