ShareLinkFetcherProps Interface

Packages > @fluidframework/odsp-driver > ShareLinkFetcherProps

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

Signature:

export interface ShareLinkFetcherProps 

Properties

List of properties of this interface
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

Events

identityType

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

Signature:

identityType: IdentityType;

tokenFetcher

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

Signature:

tokenFetcher: TokenFetcher<OdspResourceTokenFetchOptions>;