override fun equals()

in facebook-core/src/main/java/com/facebook/AccessToken.kt [243:261]


  override fun equals(other: Any?): Boolean {
    if (this === other) {
      return true
    }
    if (other !is AccessToken) {
      return false
    }
    return expires == other.expires &&
        permissions == other.permissions &&
        declinedPermissions == other.declinedPermissions &&
        expiredPermissions == other.expiredPermissions &&
        token == other.token &&
        source === other.source &&
        lastRefresh == other.lastRefresh &&
        applicationId == other.applicationId &&
        userId == other.userId &&
        dataAccessExpirationTime == other.dataAccessExpirationTime &&
        if (graphDomain == null) other.graphDomain == null else graphDomain == other.graphDomain
  }