Skip to main content
Version: v2

OdspResourceTokenFetchOptions Interface

Represents access token fetch options for ODSP resource

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

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

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

Signature​

export interface OdspResourceTokenFetchOptions extends TokenFetchOptions

Extends: TokenFetchOptions

Properties​

PropertyAlertsModifiersTypeDescription
driveIdBetaoptionalstringODSP drive id where resource resides. Optional, used only when fetching token to access ODSP file
itemIdBetaoptionalstringODSP item id representing resource. Optional, used only when fetching token to access ODSP file
siteUrlBetastringSite url representing ODSP resource location

Property Details​

driveId​

ODSP drive id where resource resides. Optional, used only when fetching token to access ODSP file

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​

driveId?: string;

Type: string

itemId​

ODSP item id representing resource. Optional, used only when fetching token to access ODSP file

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​

itemId?: string;

Type: string

siteUrl​

Site url representing ODSP resource location

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​

siteUrl: string;

Type: string