OdspConnectionConfig Interface
Defines the necessary properties that will be applied to all containers created by an OdspClient instance. This includes callbacks for the authentication tokens required for ODSP.
To use, import via @fluidframework/odsp-client/beta
.
For more information about our API support guarantees, see here.
Signature
export interface OdspConnectionConfig
Properties
Property | Alerts | Type | Description |
---|---|---|---|
driveId | Beta |
string | SharePoint Embedded Container Id of the tenant where Fluid containers are created |
filePath | Beta |
string | Specifies the file path where Fluid files are created. If passed an empty string, the Fluid files will be created at the root level. |
siteUrl | Beta |
string | Site url representing ODSP resource location. It points to the specific SharePoint site where you can store and access the containers you create. |
tokenProvider | Beta |
IOdspTokenProvider | Instance that provides AAD endpoint tokens for Push and SharePoint |
Property Details
driveId
SharePoint Embedded Container Id of the tenant where Fluid containers are created
To use, import via @fluidframework/odsp-client/beta
.
For more information about our API support guarantees, see here.
Signature
driveId: string;
Type: string
filePath
Specifies the file path where Fluid files are created. If passed an empty string, the Fluid files will be created at the root level.
To use, import via @fluidframework/odsp-client/beta
.
For more information about our API support guarantees, see here.
Signature
filePath: string;
Type: string
siteUrl
Site url representing ODSP resource location. It points to the specific SharePoint site where you can store and access the containers you create.
To use, import via @fluidframework/odsp-client/beta
.
For more information about our API support guarantees, see here.
Signature
siteUrl: string;
Type: string
tokenProvider
Instance that provides AAD endpoint tokens for Push and SharePoint
To use, import via @fluidframework/odsp-client/beta
.
For more information about our API support guarantees, see here.
Signature
tokenProvider: IOdspTokenProvider;
Type: IOdspTokenProvider