Skip to main content
Version: v1

OdspResourceTokenFetchOptions Interface

Represents access token fetch options for ODSP resource

Signature​

export interface OdspResourceTokenFetchOptions extends TokenFetchOptions

Extends: TokenFetchOptions

Properties​

PropertyModifiersTypeDescription
driveIdoptionalstringODSP drive id where resource resides. Optional, used only when fetching token to access ODSP file
itemIdoptionalstringODSP item id representing resource. Optional, used only when fetching token to access ODSP file
siteUrlstringSite url representing ODSP resource location

Property Details​

driveId​

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

Signature​

driveId?: string;

Type: string

itemId​

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

Signature​

itemId?: string;

Type: string

siteUrl​

Site url representing ODSP resource location

Signature​

siteUrl: string;

Type: string