createSessionUsingSocialProvider function

Future<CubeSession> createSessionUsingSocialProvider(
  1. String socialProvider,
  2. String accessToken, [
  3. String? accessTokenSecret
])

Implementation

Future<CubeSession> createSessionUsingSocialProvider(
    String socialProvider, String accessToken,
    [String? accessTokenSecret]) {
  return CreateSessionQuery.usingSocial(
      socialProvider, List.of({accessToken, accessTokenSecret})).perform();
}