Skip to main content

@fluidframework/routerlicious-driver Package

Interfaces

InterfaceAlertsDescription
IRouterliciousResolvedUrlLegacyRouterlicious extends the resolved url with additional properties to control Routerlicious-specific behaviors.
ITokenProviderAbstracts the token fetching mechanism for a hosting application. The hosting application is responsible for providing an implementation.
ITokenResponse

Functions

FunctionAlertsReturn TypeDescription
createRouterliciousDocumentServiceFactory(tokenProvider)LegacyIDocumentServiceFactoryCreates factory for creating the routerlicious document service.

Function Details

createRouterliciousDocumentServiceFactory

Creates factory for creating the routerlicious document service.

This API is provided for existing users, but is not recommended for new users.

To use, import via @fluidframework/routerlicious-driver/legacy.

For more information about our API support guarantees, see here.

Signature

export declare function createRouterliciousDocumentServiceFactory(tokenProvider: ITokenProvider): IDocumentServiceFactory;

Parameters

ParameterTypeDescription
tokenProviderITokenProvider

Returns

Return type: IDocumentServiceFactory