Private
constructorPrivate constructor for Provider
Configuration for the provider
Private
_alt_Alt ID of the provider
Private
_uuidUUID of the provider
Private
accountPrivate
apiAPI key for the provider
Private
providerPrivate
scriptScript groups belonging to this provider
Private
secretSecret key for the provider
Private
urlMyScribae remote URL.
Private
secretHeaders to be used for requests that require the secret key
UUID of the provider
Private
assertFetches the provider's profile from MyScribae
Optional
to: DateValidates a MyScribae token provided by a subscriber
JWT token provided by the subscriber
A promise that resolves to a SubscriptionToken
Static
initializeSafe constructor for Provider
Configuration for the provider
A promise that resolves to a fully initialized provider
const config = {
url: 'https://api.myscribae.com',
apiKey: '...',
secretKey: '...',
};
const provider = await Provider.initialize(config, providerProfile);
Generated using TypeDoc
Provider class for managing a provider