CognitoUserSession constructor

CognitoUserSession(
  1. CognitoIdToken idToken,
  2. CognitoAccessToken accessToken, {
  3. CognitoRefreshToken? refreshToken,
  4. int? clockDrift,
})

Implementation

CognitoUserSession(
  this.idToken,
  this.accessToken, {
  this.refreshToken,
  int? clockDrift,
}) {
  this.clockDrift = clockDrift ?? calculateClockDrift();
}