@fluidframework/azure-service-utils Package
A set of helper utilities for building backend APIs for use with Azure Fluid Relay.
Note that this library's primary entry-point (generateToken(tenantId, key, scopes, documentId, user, lifetime, ver)) is only intended to be run in a browser context. It is **not** Node.js-compatible.
Functions
Function | Return Type | Description |
---|---|---|
generateToken(tenantId, key, scopes, documentId, user, lifetime, ver) | string | Generates a JSON Web Token (JWT) to authorize access to a Routerlicious-based Fluid service. |