Skip to main content

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

Property Alerts Modifiers Type Description
driveId Alpha optional string ODSP drive id where resource resides. Optional, used only when fetching token to access ODSP file
itemId Alpha optional string ODSP item id representing resource. Optional, used only when fetching token to access ODSP file
siteUrl Alpha string Site 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 as an alpha preview and may change without notice.

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

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 as an alpha preview and may change without notice.

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

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 as an alpha preview and may change without notice.

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

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

Signature

siteUrl: string;

Type: string