getAccessTokenFromWindow function

dynamic 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

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