Skip to main content

@fluidframework/routerlicious-driver Package

Interfaces

Interface Alerts Description
IRouterliciousResolvedUrl Legacy Routerlicious extends the resolved url with additional properties to control Routerlicious-specific behaviors.
ITokenProvider Abstracts the token fetching mechanism for a hosting application. The hosting application is responsible for providing an implementation.
ITokenResponse

Functions

Function Alerts Return Type Description
createRouterliciousDocumentServiceFactory(tokenProvider) Legacy IDocumentServiceFactory Creates 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

Parameter Type Description
tokenProvider ITokenProvider

Returns

Return type: IDocumentServiceFactory