@fluidframework/odsp-doclib-utils Package
Packages > @fluidframework/odsp-doclib-utils
Interfaces
Interface | Alerts | Description |
---|---|---|
IOdspAuthRequestInfo | Legacy , Alpha |
Functions
Function | Alerts | Return Type | Description |
---|---|---|---|
getDriveId(server, account, library, authRequestInfo) | Legacy , Alpha |
Promise<string> | |
getOdspScope(server) | Legacy , Alpha |
string |
Variables
Variable | Alerts | Modifiers | Type | Description |
---|---|---|---|---|
pushScope | Legacy , Alpha |
readonly |
Function Details
getDriveId
This API is provided for existing users, but is not recommended for new users.
To use, import via @fluidframework/odsp-doclib-utils/legacy
.
For more information about our API support guarantees, see here .
Signature
export declare function getDriveId(server: string, account: string, library: string | undefined, authRequestInfo: IOdspAuthRequestInfo): Promise<string>;
Parameters
Parameter | Type | Description |
---|---|---|
server | string | |
account | string | |
library | string | undefined | |
authRequestInfo | IOdspAuthRequestInfo |
Returns
Return type: Promise<string>
getOdspScope
This API is provided for existing users, but is not recommended for new users.
To use, import via @fluidframework/odsp-doclib-utils/legacy
.
For more information about our API support guarantees, see here .
Signature
getOdspScope: (server: string) => string
Parameters
Parameter | Type | Description |
---|---|---|
server | string |
Returns
Return type: string
Variable Details
pushScope
This API is provided for existing users, but is not recommended for new users.
To use, import via @fluidframework/odsp-doclib-utils/legacy
.
For more information about our API support guarantees, see here .
Signature
pushScope = "offline_access https://pushchannel.1drv.ms/PushChannel.ReadWrite.All"