ShareLinkFetcherProps Interface
Properties passed to the code responsible for fetching share link for a file.
This API is provided for existing users, but is not recommended for new users.
To use, import via @fluidframework/odsp-driver/legacy
.
For more information about our API support guarantees, see here.
Signature
export interface ShareLinkFetcherProps
Properties
Property | Alerts | Type | Description |
---|---|---|---|
identityType | Alpha |
IdentityType | Identity type determining the shape of share link as it differs for Enterprise and Consumer users. |
tokenFetcher | Alpha |
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.
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
identityType: IdentityType;
Type: IdentityType
tokenFetcher
Callback method that is used to fetch access token necessary to call API that produces share link
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
tokenFetcher: TokenFetcher<OdspResourceTokenFetchOptions>;