getAccessTokenFromWindow function

String? getAccessTokenFromWindow(
  1. dynamic link
)

Returns an AccessToken from the Window object. This cannot be used in Node, instead use the {@link getAccessTokenFromURL} function.

An access token is needed to create a DelegationChain object.

Implementation

String? getAccessTokenFromWindow(dynamic link) {
  // In flutter , we use deeplink to pass the uri, we just save here.
  return getAccessTokenFromURL(link);
}