Skip to main content
Version: v1

ShareLinkFetcherProps Interface

Properties passed to the code responsible for fetching share link for a file.

Signature

export interface ShareLinkFetcherProps

Properties

Property Type Description
identityType IdentityType Identity type determining the shape of share link as it differs for Enterprise and Consumer users.
tokenFetcher TokenFetcher<OdspResourceTokenFetchOptions> Callback method that is used to fetch access token necessary to call API that produces share link

Property Details

identityType

Identity type determining the shape of share link as it differs for Enterprise and Consumer users.

Signature

identityType: IdentityType;

Type: IdentityType

tokenFetcher

Callback method that is used to fetch access token necessary to call API that produces share link

Signature

tokenFetcher: TokenFetcher<OdspResourceTokenFetchOptions>;

Type: TokenFetcher<OdspResourceTokenFetchOptions>