OdspDocumentServiceFactory Class
Factory for creating the sharepoint document service. Use this if you want to use the sharepoint implementation.
This API is provided for existing users, but is not recommended for new users.
To use, import via @fluidframework/odsp-driver/legacy
.
For more information about our API support guarantees, see here.
Signature
export declare class OdspDocumentServiceFactory extends OdspDocumentServiceFactoryCore
Extends: OdspDocumentServiceFactoryCore
Constructors
Constructor | Alerts | Description |
---|---|---|
(constructor)(getStorageToken, getWebsocketToken, persistedCache, hostPolicy) | Alpha |
Constructs a new instance of the OdspDocumentServiceFactory class |
Constructor Details
(constructor)
Constructs a new instance of the OdspDocumentServiceFactory
class
This API is provided for existing users, but is not recommended for new users.
For more information about our API support guarantees, see here.
Signature
constructor(getStorageToken: TokenFetcher<OdspResourceTokenFetchOptions>, getWebsocketToken: TokenFetcher<OdspResourceTokenFetchOptions> | undefined, persistedCache?: IPersistedCache, hostPolicy?: HostStoragePolicy);
Parameters
Parameter | Modifiers | Type | Description |
---|---|---|---|
getStorageToken | TokenFetcher<OdspResourceTokenFetchOptions> | ||
getWebsocketToken | TokenFetcher<OdspResourceTokenFetchOptions> | undefined | ||
persistedCache | optional | IPersistedCache | |
hostPolicy | optional | HostStoragePolicy |